summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mstack.h6
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()