Loading include/utils/List.h +2 −2 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ public: mpNode = mpNode->getNext(); return *this; } _Iter operator++(int) { // post-increment const _Iter operator++(int) { // post-increment _Iter tmp = *this; ++*this; return tmp; Loading @@ -93,7 +93,7 @@ public: mpNode = mpNode->getPrev(); return *this; } _Iter operator--(int) { // post-increment const _Iter operator--(int) { // post-increment _Iter tmp = *this; --*this; return tmp; Loading Loading
include/utils/List.h +2 −2 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ public: mpNode = mpNode->getNext(); return *this; } _Iter operator++(int) { // post-increment const _Iter operator++(int) { // post-increment _Iter tmp = *this; ++*this; return tmp; Loading @@ -93,7 +93,7 @@ public: mpNode = mpNode->getPrev(); return *this; } _Iter operator--(int) { // post-increment const _Iter operator--(int) { // post-increment _Iter tmp = *this; --*this; return tmp; Loading