summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/UndoStack.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/UndoStack.h')
-rw-r--r--Userland/Libraries/LibGUI/UndoStack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/UndoStack.h b/Userland/Libraries/LibGUI/UndoStack.h
index 51b5e00436..db3065f183 100644
--- a/Userland/Libraries/LibGUI/UndoStack.h
+++ b/Userland/Libraries/LibGUI/UndoStack.h
@@ -32,6 +32,8 @@ public:
void clear();
private:
+ size_t non_empty_stack_index() const;
+
struct Combo {
NonnullOwnPtrVector<Command> commands;
};