diff options
author | Northstar <northstar@northstar.tf> | 2022-02-03 22:09:08 -0300 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-02-03 22:09:08 -0300 |
commit | 75bf194b2fca06de805a7bc025c6dd8379250fa5 (patch) | |
tree | c9327ac7921ae80bb2d91381bb7db11b47ca2403 /NorthstarDedicatedTest/memalloc.cpp | |
parent | e9f93ba2e8b9df280aed20131a1606d731d2dbbe (diff) | |
download | NorthstarLauncher-75bf194b2fca06de805a7bc025c6dd8379250fa5.tar.gz NorthstarLauncher-75bf194b2fca06de805a7bc025c6dd8379250fa5.zip |
Format project
Diffstat (limited to 'NorthstarDedicatedTest/memalloc.cpp')
-rw-r--r-- | NorthstarDedicatedTest/memalloc.cpp | 11 |
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 |