diff options
Diffstat (limited to 'src/expressions.h')
-rw-r--r-- | src/expressions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expressions.h b/src/expressions.h index f969b67..216ec7a 100644 --- a/src/expressions.h +++ b/src/expressions.h @@ -111,7 +111,7 @@ public: inline void undo_push(Type value, guint index = 0) { - undo.push(new UndoTokenPush(this, value, index)); + undo.push<UndoTokenPush>(this, value, index); } inline Type @@ -132,7 +132,7 @@ public: inline void undo_pop(guint index = 0) { - undo.push(new UndoTokenPop(this, index)); + undo.push<UndoTokenPop>(this, index); } inline Type & |