aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/memalloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/memalloc.cpp')
-rw-r--r--NorthstarDedicatedTest/memalloc.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/NorthstarDedicatedTest/memalloc.cpp b/NorthstarDedicatedTest/memalloc.cpp
index 1b9eaae8..f9186110 100644
--- a/NorthstarDedicatedTest/memalloc.cpp
+++ b/NorthstarDedicatedTest/memalloc.cpp
@@ -29,7 +29,6 @@ extern "C" void _free_base(void* p)
g_pMemAllocSingleton->m_vtable->Free(g_pMemAllocSingleton, p);
}
-
extern "C" void* _realloc_base(void* oldPtr, size_t size)
{
if (!g_pMemAllocSingleton)
@@ -66,12 +65,6 @@ extern "C" char* _strdup_base(const char* src)
return str;
}
-void* operator new(size_t n)
-{
- return _malloc_base(n);
-}
+void* operator new(size_t n) { return _malloc_base(n); }
-void operator delete(void* p)
-{
- _free_base(p);
-}// /FORCE:MULTIPLE \ No newline at end of file
+void operator delete(void* p) { _free_base(p); } // /FORCE:MULTIPLE \ No newline at end of file