mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
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."
This commit is contained in:
parent
04c5bc5e55
commit
f2d8c488ec
7 changed files with 15 additions and 24 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue