Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed Jan 9, 2025
1 parent a2523be commit cc0574e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Common/Memory/Allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
#pragma once
#include <new>

// Disable the warning about no matching operator delete found, we don't need those for the Arena and Recycler
#pragma warning(disable:4291)
Expand Down Expand Up @@ -450,6 +449,10 @@ void AssertValue(void * mem, T value, uint byteCount)
#define NO_EXPORT(x) x
#endif

// Use std inline placement new instead of custom
// See PR #7009
#include <new>

//----------------------------------------
// throwing operator new overrides
//----------------------------------------
Expand Down

0 comments on commit cc0574e

Please sign in to comment.