Index: Source/platform/graphics/ContiguousContainer.h |
diff --git a/Source/platform/graphics/ContiguousContainer.h b/Source/platform/graphics/ContiguousContainer.h |
index 62ff2d9dcf01214faf7661fc435ec8f9fcdd7795..bfea148e71b3ae6616d8fd4c9b1a6d374b7015b6 100644 |
--- a/Source/platform/graphics/ContiguousContainer.h |
+++ b/Source/platform/graphics/ContiguousContainer.h |
@@ -90,7 +90,7 @@ private: |
ValueType& operator*() const { return *static_cast<ValueType*>(*m_it); } |
ValueType* operator->() const { return &operator*(); } |
IteratorWrapper operator+(std::ptrdiff_t n) const { return IteratorWrapper(m_it + n); } |
- IteratorWrapper operator++(int) const { IteratorWrapper tmp = *this; operator++(); return tmp; } |
+ IteratorWrapper operator++(int) { IteratorWrapper tmp = *this; ++m_it; return tmp; } |
std::ptrdiff_t operator-(const IteratorWrapper& other) const { return m_it - other.m_it; } |
IteratorWrapper& operator++() { ++m_it; return *this; } |
private: |