From 6217874f778c9e05aa5d35be7f252313674ca479 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Fri, 2 Feb 2018 00:41:26 +0200 Subject: [PATCH] Update DataMap.h --- src/common/Utilities/DataMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;