mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r15447) -Codechange: void functions don't tend to return true if and only if anyway
This commit is contained in:
parent
62be0ce7e6
commit
e73a4e490c
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user