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
commiteeaa4c8d9a9d110bbb39ea284aeffd5acdb90a16 (patch)
tree3859af634fd285534550fc73e68f0c133b53676b /src/core
parent06bdc9d57510082c8ac433772293ca4e00163cc8 (diff)
downloadopenttd-eeaa4c8d9a9d110bbb39ea284aeffd5acdb90a16.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)