diff --git a/src/core/smallmap_type.hpp b/src/core/smallmap_type.hpp --- a/src/core/smallmap_type.hpp +++ b/src/core/smallmap_type.hpp @@ -26,7 +26,7 @@ struct SmallPair { U second; /** Initializes this Pair with data */ - FORCEINLINE SmallPair(const T &first, const U &second) : first(first), second(second) { } + inline SmallPair(const T &first, const U &second) : first(first), second(second) { } }; /** @@ -45,16 +45,16 @@ struct SmallMap : SmallVectorEnd() if not */ - FORCEINLINE Pair *Find(const T &key) + inline Pair *Find(const T &key) { for (uint i = 0; i < this->items; i++) { if (key == this->data[i].first) return &this->data[i]; @@ -67,7 +67,7 @@ struct SmallMap : SmallVectorFind(key) != this->End(); } @@ -77,7 +77,7 @@ struct SmallMap : SmallVector= this->Begin() && pair < this->End()); *pair = this->data[--this->items]; @@ -89,7 +89,7 @@ struct SmallMap : SmallVectoritems; i++) { if (key == this->data[i].first) { @@ -106,7 +106,7 @@ struct SmallMap : SmallVectorContains(key)) return false; Pair *n = this->Append(); @@ -121,7 +121,7 @@ struct SmallMap : SmallVectoritems; i++) { if (key == this->data[i].first) return this->data[i].second; @@ -131,7 +131,7 @@ struct SmallMap : SmallVectorsecond; } - FORCEINLINE void SortByKey() + inline void SortByKey() { QSortT(this->Begin(), this->items, KeySorter); }