changeset 11101:6c679f380a53 draft

(svn r15447) -Codechange: void functions don't tend to return true if and only if anyway
author peter1138 <peter1138@openttd.org>
date Wed, 11 Feb 2009 07:17:39 +0000
parents 9735390c5083
children ee125c12be2b
files src/core/smallmap_type.hpp src/core/smallvec_type.hpp
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/smallmap_type.hpp
+++ b/src/core/smallmap_type.hpp
@@ -45,7 +45,6 @@
 
 	/** 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)
--- a/src/core/smallvec_type.hpp
+++ b/src/core/smallvec_type.hpp
@@ -121,7 +121,6 @@
 
 	/** 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)