diff options
author | Lenny Maiorani <lenny@serenityos.org> | 2022-02-25 13:28:58 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-03-10 18:04:26 -0800 |
commit | 2200eb761d169964dec0ea9495f689f83fde0539 (patch) | |
tree | 9ac040d1919d8d152056b2d628c4ecc41dbbeb5e /Userland/Libraries/LibAudio | |
parent | 7eafa58af88312890df34bf39efb013922cb6b9f (diff) | |
download | serenity-2200eb761d169964dec0ea9495f689f83fde0539.zip |
Libraries: Use default constructors/destructors in LibAudio
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/LibAudio')
-rw-r--r-- | Userland/Libraries/LibAudio/Loader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibAudio/Loader.h b/Userland/Libraries/LibAudio/Loader.h index f2ee6e8dca..698f092db6 100644 --- a/Userland/Libraries/LibAudio/Loader.h +++ b/Userland/Libraries/LibAudio/Loader.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2021, the SerenityOS developers. + * Copyright (c) 2018-2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ @@ -28,7 +28,7 @@ using MaybeLoaderError = Result<void, LoaderError>; class LoaderPlugin { public: - virtual ~LoaderPlugin() { } + virtual ~LoaderPlugin() = default; virtual MaybeLoaderError initialize() = 0; |