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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/UndoStack.h b/Userland/Libraries/LibGUI/UndoStack.h
index cfc0b2c6ca..ab58d140e5 100644
--- a/Userland/Libraries/LibGUI/UndoStack.h
+++ b/Userland/Libraries/LibGUI/UndoStack.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
+ * Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -15,8 +16,8 @@ namespace GUI {
class UndoStack {
public:
- UndoStack();
- ~UndoStack();
+ UndoStack() = default;
+ ~UndoStack() = default;
void push(NonnullOwnPtr<Command>);