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/Audio | |
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/Audio')
-rw-r--r-- | Userland/Applets/Audio/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Applets/Audio/main.cpp b/Userland/Applets/Audio/main.cpp index f957b3ce6f..e72ebec726 100644 --- a/Userland/Applets/Audio/main.cpp +++ b/Userland/Applets/Audio/main.cpp @@ -2,6 +2,7 @@ * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2021, kleines Filmröllchen <filmroellchen@serenityos.org> * Copyright (c) 2021, David Isaksson <davidisaksson93@gmail.com> + * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -134,7 +135,7 @@ private: }; public: - virtual ~AudioWidget() override { } + virtual ~AudioWidget() override = default; void set_audio_widget_size(bool show_percent) { |