diff --git a/src/Core/GameProject/CResourceIterator.h b/src/Core/GameProject/CResourceIterator.h index 6951da25..160ea0f3 100644 --- a/src/Core/GameProject/CResourceIterator.h +++ b/src/Core/GameProject/CResourceIterator.h @@ -36,33 +36,33 @@ public: return mpCurEntry; } - inline bool DoneIterating() const + bool DoneIterating() const { return mpCurEntry == nullptr; } - inline operator bool() const + explicit operator bool() const { return !DoneIterating(); } - inline CResourceEntry* operator*() const + CResourceEntry* operator*() const { return mpCurEntry; } - inline CResourceEntry* operator->() const + CResourceEntry* operator->() const { return mpCurEntry; } - inline CResourceIterator& operator++() + CResourceIterator& operator++() { Next(); return *this; } - inline CResourceIterator operator++(int) + CResourceIterator operator++(int) { CResourceIterator Copy = *this; Next();