mirror of https://github.com/OpenTTD/OpenTTD
(svn r15447) -Codechange: void functions don't tend to return true if and only if anyway
parent
62be0ce7e6
commit
e73a4e490c
|
@ -45,7 +45,6 @@ struct SmallMap : SmallVector<SmallPair<T, U>, S> {
|
||||||
|
|
||||||
/** Removes given pair from this map
|
/** Removes given pair from this map
|
||||||
* @param pair pair to remove
|
* @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.
|
* @note it has to be pointer to pair in this map. It is overwritten by the last item.
|
||||||
*/
|
*/
|
||||||
FORCEINLINE void Erase(Pair *pair)
|
FORCEINLINE void Erase(Pair *pair)
|
||||||
|
|
|
@ -121,7 +121,6 @@ public:
|
||||||
|
|
||||||
/** Removes given item from this map
|
/** Removes given item from this map
|
||||||
* @param item item to remove
|
* @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.
|
* @note it has to be pointer to item in this map. It is overwritten by the last item.
|
||||||
*/
|
*/
|
||||||
FORCEINLINE void Erase(T *item)
|
FORCEINLINE void Erase(T *item)
|
||||||
|
|
Loading…
Reference in New Issue