diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2019-11-11 10:24:04 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2019-11-11 10:24:04 +0100 |
commit | d18b2e599d838201ecf14822d5823269859897da (patch) | |
tree | 67d7e58c17c9a7b387da6f32f44bd383e643359f /core | |
parent | b7fdac60f16cef462a8ef97ce8c77308ba38a62f (diff) |
Remove all uses of ERR_EXPLAIN macros.
Diffstat (limited to 'core')
-rw-r--r-- | core/os/memory.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/os/memory.cpp b/core/os/memory.cpp index d1de51f3db..f4ed1d6e27 100644 --- a/core/os/memory.cpp +++ b/core/os/memory.cpp @@ -50,20 +50,17 @@ void *operator new(size_t p_size, void *(*p_allocfunc)(size_t p_size)) { #ifdef _MSC_VER void operator delete(void *p_mem, const char *p_description) { - ERR_EXPLAINC("Call to placement delete should not happen."); - CRASH_NOW(); + CRASH_NOW_MSG("Call to placement delete should not happen."); } void operator delete(void *p_mem, void *(*p_allocfunc)(size_t p_size)) { - ERR_EXPLAINC("Call to placement delete should not happen."); - CRASH_NOW(); + CRASH_NOW_MSG("Call to placement delete should not happen."); } void operator delete(void *p_mem, void *p_pointer, size_t check, const char *p_description) { - ERR_EXPLAINC("Call to placement delete should not happen."); - CRASH_NOW(); + CRASH_NOW_MSG("Call to placement delete should not happen."); } #endif |