Skip to content

Commit 0990b78

Browse files
committed
Tidy default heaps and fix Intermediate Build
1 parent 3c54452 commit 0990b78

File tree

24 files changed

+67
-136
lines changed

24 files changed

+67
-136
lines changed

EditorSupport/EditorSupportPch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// EditorSupportPch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "EditorSupportPch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( EditorSupport );
127

Engine/EnginePch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// EnginePch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "EnginePch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( Engine );
127

EngineJobs/EngineJobsPch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// EngineJobsPch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "EngineJobsPch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( EngineJobs );
127

Example/ExampleGame/ExampleGamePch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// ExampleGamePch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "ExampleGamePch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( ExampleGame );
127

Example/ExampleMain/ExampleMainPch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// ExampleMainPch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "ExampleMainPch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( ExampleMain );
127

Foundation/FoundationPch.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
#include "FoundationPch.h"
1+
#include "FoundationPch.h"
2+
3+
#include "Platform/Memory.h"
4+
5+
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
6+
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( Engine );
7+
8+
#if HELIUM_DEBUG
9+
#include "Platform/NewDelete.h"
10+
#endif

Foundation/Memory.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818
#define abs64 labs
1919
#endif
2020

21-
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
22-
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( Foundation );
23-
24-
#if HELIUM_SHARED
25-
#include "Platform/NewDelete.h"
26-
#endif
27-
2821
using namespace Helium;
2922
using namespace Helium::Profile;
3023

Framework/FrameworkPch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// FrameworkPch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "FrameworkPch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( Framework );
127

FrameworkWin/FrameworkWinPch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// FrameworkWinPch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "FrameworkWinPch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( FrameworkWin );
127

Graphics/GraphicsPch.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//----------------------------------------------------------------------------------------------------------------------
2-
// GraphicsPch.cpp
3-
//
4-
// Copyright (C) 2010 WhiteMoon Dreams, Inc.
5-
// All Rights Reserved
6-
//----------------------------------------------------------------------------------------------------------------------
7-
81
#include "GraphicsPch.h"
92

3+
#include "Platform/Memory.h"
4+
105
// Define the memory heap for the current module and include the "new"/"delete" operator implementations.
116
HELIUM_DEFINE_DEFAULT_MODULE_HEAP( Graphics );
127

0 commit comments

Comments
 (0)