diff options
author | Lenny Maiorani <lenny@serenityos.org> | 2022-02-26 10:50:04 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-03-12 14:44:43 -0800 |
commit | fe3b846ac825d8d91923cb1407dcecf66f29513e (patch) | |
tree | 86f3e8976bb1a57c9b2818b7a71b228cc708359f /Userland/Libraries/LibGUI/Calendar.h | |
parent | b801ddf73d605dd80b5033c3eae3125ec2ffc4bb (diff) | |
download | serenity-fe3b846ac825d8d91923cb1407dcecf66f29513e.zip |
Libraries: Use default constructors/destructors in LibGUI
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/Libraries/LibGUI/Calendar.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Calendar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Calendar.h b/Userland/Libraries/LibGUI/Calendar.h index 017a1182b2..72d653fc6e 100644 --- a/Userland/Libraries/LibGUI/Calendar.h +++ b/Userland/Libraries/LibGUI/Calendar.h @@ -1,6 +1,6 @@ /* * Copyright (c) 2019-2020, Ryan Grieb <ryan.m.grieb@gmail.com> - * Copyright (c) 2020-2021, the SerenityOS developers. + * Copyright (c) 2020-2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -73,7 +73,7 @@ public: private: Calendar(Core::DateTime date_time = Core::DateTime::now(), Mode mode = Month); - virtual ~Calendar() override; + virtual ~Calendar() override = default; virtual void resize_event(GUI::ResizeEvent&) override; virtual void paint_event(GUI::PaintEvent&) override; |