diff options
Diffstat (limited to 'src/base.cpp')
| -rw-r--r-- | src/base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp index 1c1d34364..21b260fe4 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -27,7 +27,7 @@ #include "base.h" // This trick detects heap allocations of refcountbase objects -static void* last_heap = NULL; +static void* last_heap = nullptr; void* refcountbase::operator new(size_t size) { @@ -38,7 +38,7 @@ void* refcountbase::operator new(size_t size) void refcountbase::operator delete(void* obj) { if (last_heap == obj) - last_heap = NULL; + last_heap = nullptr; ::operator delete(obj); } |
