diff --git a/src/common/Utilities/DataMap.h b/src/common/Utilities/DataMap.h index 79edfa6ec..a61b131ef 100644 --- a/src/common/Utilities/DataMap.h +++ b/src/common/Utilities/DataMap.h @@ -43,7 +43,7 @@ public: if (T* v = Get(k)) return v; T* v = new T(); - cont.emplace(k, std::unique_ptr(v)); + Container.emplace(k, std::unique_ptr(v)); return v; } @@ -55,7 +55,7 @@ public: /** * Removes objects with given key and returns true if one was removed, false otherwise */ - bool Erase(std::string const & k) { cont.erase(k) != 0; } + bool Erase(std::string const & k) { Container.erase(k) != 0; } private: std::unordered_map> Container;