diff --git a/src/common/Utilities/DataMap.h b/src/common/Utilities/DataMap.h index a61b131ef..666f42e6e 100644 --- a/src/common/Utilities/DataMap.h +++ b/src/common/Utilities/DataMap.h @@ -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) { Container.erase(k) != 0; } + bool Erase(std::string const & k) { return Container.erase(k) != 0; } private: std::unordered_map> Container;