Przeglądaj źródła

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

undefined
Sam Hocevar 11 lat temu
rodzic
commit
ae6f66e883
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/lol/base/array.h

+ 1
- 1
src/lol/base/array.h Wyświetl plik

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

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


Ładowanie…
Anuluj
Zapisz