summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2009-02-11 02:53:15 +0000
committerbelugas <belugas@openttd.org>2009-02-11 02:53:15 +0000
commit06bdc9d57510082c8ac433772293ca4e00163cc8 (patch)
tree431c510ed9c8101ee7cf45511108ebffe29f601b /src/core
parent002c9b7c6770b63f6a0e5e83d41098156c42b9cb (diff)
downloadopenttd-06bdc9d57510082c8ac433772293ca4e00163cc8.tar.xz
(svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". So not much of a typo.
Thanks, Yexo. I feel less ignorant today :D
Diffstat (limited to 'src/core')
-rw-r--r--src/core/smallmap_type.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp
index 1d9616804..18d37f5c5 100644
--- a/src/core/smallmap_type.hpp
+++ b/src/core/smallmap_type.hpp
@@ -45,7 +45,7 @@ struct SmallMap : SmallVector<SmallPair<T, U>, S> {
/** Removes given pair from this map
* @param pair pair to remove
- * @return true if the key was found
+ * @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)
@@ -56,7 +56,7 @@ struct SmallMap : SmallVector<SmallPair<T, U>, S> {
/** Removes given key from this map
* @param key key to remove
- * @return true if the key was found
+ * @return true iff the key was found
* @note last item is moved to its place, so don't increase your iterator if true is returned!
*/
FORCEINLINE bool Erase(const T &key)
@@ -73,7 +73,7 @@ struct SmallMap : SmallVector<SmallPair<T, U>, S> {
/** Adds new item to this map.
* @param key key
* @param data data
- * @return true if the key wasn't already present
+ * @return true iff the key wasn't already present
*/
FORCEINLINE bool Insert(const T &key, const U &data)
{