diff --git a/src/wrappers/memory_wrapper_internal.cpp b/src/wrappers/memory_wrapper_internal.cpp index b3d47c30..293f25a5 100644 --- a/src/wrappers/memory_wrapper_internal.cpp +++ b/src/wrappers/memory_wrapper_internal.cpp @@ -9,6 +9,7 @@ #include "memory_wrapper.h" #include #include +#include #include #include #include @@ -59,7 +60,7 @@ extern "C" void apex_memory_lights_out(); class book_t { public: size_t saved_node_id; - std::atomic totalAllocated = 0.0; + std::atomic totalAllocated{0}; std::unordered_map memoryMap; std::mutex mapMutex; ~book_t() {