Browse Source

Move #include <new> to Allocator

Daniele Bartolini 12 years ago
parent
commit
a9c469424a
2 changed files with 2 additions and 2 deletions
  1. 2 0
      src/core/mem/Allocator.h
  2. 0 2
      src/core/mem/Memory.cpp

+ 2 - 0
src/core/mem/Allocator.h

@@ -26,6 +26,8 @@ OTHER DEALINGS IN THE SOFTWARE.
 
 #pragma once
 
+#include <new>
+
 #include "Types.h"
 #include "Memory.h"
 

+ 0 - 2
src/core/mem/Memory.cpp

@@ -24,8 +24,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.
 */
 
-#include <new>
-
 #include "Memory.h"
 #include "MallocAllocator.h"