Skip to content

Commit cc0574e

Browse files
Add comment
1 parent a2523be commit cc0574e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/Common/Memory/Allocator.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
55
//-------------------------------------------------------------------------------------------------------
66
#pragma once
7-
#include <new>
87

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

452+
// Use std inline placement new instead of custom
453+
// See PR #7009
454+
#include <new>
455+
453456
//----------------------------------------
454457
// throwing operator new overrides
455458
//----------------------------------------

0 commit comments

Comments
 (0)