diff --git a/Source/Engine/Core/Collections/Dictionary.h b/Source/Engine/Core/Collections/Dictionary.h index ad8793d36..fd035e6f4 100644 --- a/Source/Engine/Core/Collections/Dictionary.h +++ b/Source/Engine/Core/Collections/Dictionary.h @@ -862,14 +862,14 @@ public: return Iterator(this, _size); } - const Iterator begin() const + Iterator begin() const { Iterator i(this, -1); ++i; return i; } - FORCE_INLINE const Iterator end() const + FORCE_INLINE Iterator end() const { return Iterator(this, _size); } diff --git a/Source/Engine/Core/Collections/HashSet.h b/Source/Engine/Core/Collections/HashSet.h index 1c31eaef4..af9e59566 100644 --- a/Source/Engine/Core/Collections/HashSet.h +++ b/Source/Engine/Core/Collections/HashSet.h @@ -656,14 +656,14 @@ public: return Iterator(this, _size); } - const Iterator begin() const + Iterator begin() const { Iterator i(this, -1); ++i; return i; } - FORCE_INLINE const Iterator end() const + FORCE_INLINE Iterator end() const { return Iterator(this, _size); }