diff --git a/BAN/include/BAN/Move.h b/BAN/include/BAN/Move.h index 717ebfdca5..8652b2b627 100644 --- a/BAN/include/BAN/Move.h +++ b/BAN/include/BAN/Move.h @@ -27,6 +27,3 @@ namespace BAN } } - -inline void* operator new(size_t, void* addr) { return addr; } -inline void* operator new[](size_t, void* addr) { return addr; } \ No newline at end of file diff --git a/BAN/include/BAN/New.h b/BAN/include/BAN/New.h index 3602fb30e8..57e5b32f91 100644 --- a/BAN/include/BAN/New.h +++ b/BAN/include/BAN/New.h @@ -16,3 +16,6 @@ namespace BAN static constexpr void(&deallocator)(void*) = free; #endif } + +inline void* operator new(size_t, void* addr) { return addr; } +inline void* operator new[](size_t, void* addr) { return addr; } diff --git a/BAN/include/BAN/Variant.h b/BAN/include/BAN/Variant.h index 02651cce36..a7944bda9c 100644 --- a/BAN/include/BAN/Variant.h +++ b/BAN/include/BAN/Variant.h @@ -3,6 +3,7 @@ #include #include #include +#include #include