From cc0574e29fda7f8a80a0d1be109d290ba0923d6b Mon Sep 17 00:00:00 2001 From: Lukas Kurz Date: Thu, 9 Jan 2025 11:20:06 +0100 Subject: [PATCH] Add comment --- lib/Common/Memory/Allocator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Common/Memory/Allocator.h b/lib/Common/Memory/Allocator.h index 28f86e5eb03..049dbc43cc4 100644 --- a/lib/Common/Memory/Allocator.h +++ b/lib/Common/Memory/Allocator.h @@ -4,7 +4,6 @@ // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- #pragma once -#include // Disable the warning about no matching operator delete found, we don't need those for the Arena and Recycler #pragma warning(disable:4291) @@ -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 + //---------------------------------------- // throwing operator new overrides //----------------------------------------