Browse Source

base: fix an old bug affecting range-based for loops on arrays.

undefined
Sam Hocevar 10 years ago
parent
commit
ae6f66e883
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lol/base/array.h

+ 1
- 1
src/lol/base/array.h View File

@@ -415,7 +415,7 @@ public:
return m_pos != that.m_pos; return m_pos != that.m_pos;
} }


element_t operator *()
element_t & operator *()
{ {
return (*m_array)[m_pos]; return (*m_array)[m_pos];
} }


Loading…
Cancel
Save