Skip to content

Commit

Permalink
Fixing compiler error with gcc 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Aug 16, 2021
1 parent a5b8d8c commit d028ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wrappers/memory_wrapper_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "memory_wrapper.h"
#include <memory>
#include <atomic>
#include <cstdlib>
#include <unordered_map>
#include <mutex>
#include <vector>
Expand Down Expand Up @@ -59,7 +60,7 @@ extern "C" void apex_memory_lights_out();
class book_t {
public:
size_t saved_node_id;
std::atomic<size_t> totalAllocated = 0.0;
std::atomic<size_t> totalAllocated{0};
std::unordered_map<void*,record_t> memoryMap;
std::mutex mapMutex;
~book_t() {
Expand Down

0 comments on commit d028ff5

Please sign in to comment.