diff options
-rw-r--r-- | lib/common/DebugMemLeakFinder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common/DebugMemLeakFinder.cpp b/lib/common/DebugMemLeakFinder.cpp index 1527661f..bd3cca20 100644 --- a/lib/common/DebugMemLeakFinder.cpp +++ b/lib/common/DebugMemLeakFinder.cpp @@ -63,6 +63,7 @@ #include <stdio.h> #include <string.h> #include <set> +#include <cstdlib> // for std::atexit #include "MemLeakFinder.h" @@ -433,7 +434,7 @@ void memleakfinder_setup_exit_report(const char *filename, const char *markertex ::strcpy(atexit_markertext, markertext); if(!atexit_registered) { - std:atexit(memleakfinder_atexit); + std::atexit(memleakfinder_atexit); atexit_registered = true; } } |