summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-02-11 07:17:39 +0000
committerpeter1138 <peter1138@openttd.org>2009-02-11 07:17:39 +0000
commite73a4e490ccd5d5f0f7fb4f788156b3f04255dd0 (patch)
tree3859af634fd285534550fc73e68f0c133b53676b /src/core
parent62be0ce7e654c0913dafe2ddab8b2588184783db (diff)
downloadopenttd-e73a4e490ccd5d5f0f7fb4f788156b3f04255dd0.tar.xz
(svn r15447) -Codechange: void functions don't tend to return true if and only if anyway
Diffstat (limited to 'src/core')
-rw-r--r--src/core/smallmap_type.hpp1
-rw-r--r--src/core/smallvec_type.hpp1
2 files changed, 0 insertions, 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<SmallPair<T, U>, 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)