diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Command.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Command.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Command.h b/Userland/Libraries/LibGUI/Command.h index e7db7d7678..1bff5a10d0 100644 --- a/Userland/Libraries/LibGUI/Command.h +++ b/Userland/Libraries/LibGUI/Command.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 */ @@ -12,7 +13,7 @@ namespace GUI { class Command { public: - virtual ~Command(); + virtual ~Command() = default; virtual void undo() { } virtual void redo() { } @@ -21,7 +22,7 @@ public: virtual bool merge_with(Command const&) { return false; } protected: - Command() { } + Command() = default; }; } |