diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-10 02:39:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-10 02:39:25 +0300 |
commit | 556e081363da7255fd8c0fea65aeab887b6aa5f8 (patch) | |
tree | aa3a3ebd831dbc18d9a3f4b48e026b6dd3f917d5 /src/resources | |
parent | 7b123a882e1cab0b6d74b09daff586895e946fc6 (diff) | |
download | plus-556e081363da7255fd8c0fea65aeab887b6aa5f8.tar.gz plus-556e081363da7255fd8c0fea65aeab887b6aa5f8.tar.bz2 plus-556e081363da7255fd8c0fea65aeab887b6aa5f8.tar.xz plus-556e081363da7255fd8c0fea65aeab887b6aa5f8.zip |
Fix some MStack functions.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/mstack.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/mstack.h b/src/resources/mstack.h index 7f7fa9178..f8a49af49 100644 --- a/src/resources/mstack.h +++ b/src/resources/mstack.h @@ -56,14 +56,12 @@ struct MStack final T &getPop() { - mPointer --; - return *mPointer; + return *(mPointer--); } const T &getPopConst() { - mPointer --; - return *mPointer; + return *(mPointer--); } void pop() |