diff options
author | Lenny Maiorani <lenny@serenityos.org> | 2022-02-10 11:24:17 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-13 21:27:17 +0000 |
commit | f2d8c488ecafe6ccb733b60e053e7388bf153fba (patch) | |
tree | 7a1f36b747ef74968ff836c79d8023d5993e2613 /Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp | |
parent | 04c5bc5e553fe3dc7f38dec0522651968fe9b596 (diff) | |
download | serenity-f2d8c488ecafe6ccb733b60e053e7388bf153fba.zip |
Userland/Applets: Use default constructors/destructors
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules
"The compiler is more likely to get the default semantics right and
you cannot implement these functions better than the compiler."
Diffstat (limited to 'Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp')
-rw-r--r-- | Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp index 6873251c06..55654bb2ae 100644 --- a/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp +++ b/Userland/Applets/ClipboardHistory/ClipboardHistoryModel.cpp @@ -1,6 +1,7 @@ /* * Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org> * Copyright (c) 2021, Mustafa Quraish <mustafa@cs.toronto.edu> + * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -20,10 +21,6 @@ ClipboardHistoryModel::ClipboardHistoryModel() { } -ClipboardHistoryModel::~ClipboardHistoryModel() -{ -} - String ClipboardHistoryModel::column_name(int column) const { switch (column) { |