From e73a4e490ccd5d5f0f7fb4f788156b3f04255dd0 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 11 Feb 2009 07:17:39 +0000 Subject: (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway --- src/core/smallmap_type.hpp | 1 - src/core/smallvec_type.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp index 18d37f5c5..8a553e1c2 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 f0ca48818..69625a2e0 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) -- cgit v1.2.3-70-g09d2