Procházet zdrojové kódy

Fix invalid reference return in IndexedListIterator

Nils Maier před 12 roky
rodič
revize
e25c0955c5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/IndexedList.h

+ 1 - 1
src/IndexedList.h

@@ -103,7 +103,7 @@ struct IndexedListIterator {
     return *this;
   }
 
-  SelfType& operator--(int)
+  SelfType operator--(int)
   {
     SelfType copy = *this;
     --*this;