diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp index 18d37f5c5e..8a553e1c24 100644 --- a/src/core/smallmap_type.hpp +++ b/src/core/smallmap_type.hpp @@ -45,7 +45,6 @@ struct SmallMap : SmallVector, S> { /** Removes given pair from this map * @param pair pair to remove - * @return true iff the key was found * @note it has to be pointer to pair in this map. It is overwritten by the last item. */ FORCEINLINE void Erase(Pair *pair) diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp index f0ca488184..69625a2e0b 100644 --- a/src/core/smallvec_type.hpp +++ b/src/core/smallvec_type.hpp @@ -121,7 +121,6 @@ public: /** Removes given item from this map * @param item item to remove - * @return true iff key was found * @note it has to be pointer to item in this map. It is overwritten by the last item. */ FORCEINLINE void Erase(T *item)