diff --git a/src/lol/base/array.h b/src/lol/base/array.h index db76941a..8c325a9d 100644 --- a/src/lol/base/array.h +++ b/src/lol/base/array.h @@ -415,7 +415,7 @@ public: return m_pos != that.m_pos; } - element_t operator *() + element_t & operator *() { return (*m_array)[m_pos]; }