]> git.lyx.org Git - lyx.git/blobdiff - src/undostack.h
Fix bugs #32 and #52.
[lyx.git] / src / undostack.h
index e611e3a065792d6935e3957920d1b74d755dbf55..35632d54bd01a2b0bd863abbe70d6110c7c750ff 100644 (file)
@@ -33,13 +33,13 @@ public:
        ///
        UndoStack();
        ///
-       Undo * pop();
+       ~UndoStack();
        ///
-       Undo * top();
+       void pop();
        ///
-       bool empty() const;
+       Undo * top() const;
        ///
-       ~UndoStack();
+       bool empty() const;
        ///
        void clear();
        ///