diff options
author | belugas <belugas@openttd.org> | 2009-02-11 02:30:08 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2009-02-11 02:30:08 +0000 |
commit | c26426a44e97db72f7bd47a7bbd47e620a4a747d (patch) | |
tree | b3abd465abcdc0e50cbf1e9742c9b9e07aab301e /src | |
parent | 5239eee6acbc05ce87214216f11021d8cf1f519e (diff) | |
download | openttd-c26426a44e97db72f7bd47a7bbd47e620a4a747d.tar.xz |
(svn r15445) -Fix: little typos
Diffstat (limited to 'src')
-rw-r--r-- | src/core/smallmap_type.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp index cc2533dd0..1d9616804 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 iff key was found + * @return true if 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 iff key was found + * @return true if 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 iff the kay wasn't already present + * @return true if the key wasn't already present */ FORCEINLINE bool Insert(const T &key, const U &data) { |