Skip to content

Commit b021b5d

Browse files
committed
Don't need to define these in a cpp file.
1 parent f29ccce commit b021b5d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/NodeEngine/NE_Debug.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
#include <assert.h>
33

44
#if defined(DEBUG) && defined(_MSC_VER)
5-
#include <crtdbg.h>
65
#define _CRTDBG_MAP_ALLOC
7-
#ifndef DBG_NEW
8-
#define DBG_NEW new (_NORMAL_BLOCK, __FILE__ ,__LINE__ )
9-
#define new DBG_NEW
10-
#endif
6+
#include <crtdbg.h>
117
#endif
128

139
static void Assert (bool condition)

0 commit comments

Comments
 (0)