From fe3b846ac825d8d91923cb1407dcecf66f29513e Mon Sep 17 00:00:00 2001 From: Lenny Maiorani Date: Sat, 26 Feb 2022 10:50:04 -0700 Subject: 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." --- Userland/Libraries/LibGUI/IconView.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/IconView.h') diff --git a/Userland/Libraries/LibGUI/IconView.h b/Userland/Libraries/LibGUI/IconView.h index 1b97b91dc6..787d21cb1a 100644 --- a/Userland/Libraries/LibGUI/IconView.h +++ b/Userland/Libraries/LibGUI/IconView.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2018-2020, Andreas Kling + * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -16,7 +17,7 @@ namespace GUI { class IconView : public AbstractView { C_OBJECT(IconView) public: - virtual ~IconView() override; + virtual ~IconView() override = default; enum class FlowDirection { LeftToRight, -- cgit v1.2.3