mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
Libraries: Use default constructors/destructors in LibDesktop
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
d5d795b55e
commit
983716cbeb
Notes:
sideshowbarker
2024-07-17 17:33:45 +09:00
Author: https://github.com/ldm5180
Commit: 983716cbeb
Pull-request: https://github.com/SerenityOS/serenity/pull/12994
2 changed files with 2 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2020, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2021, Spencer Dixon <spencercdixon@gmail.com>
|
||||
* Copyright (c) 2022, the SerenityOS developers.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -48,10 +49,6 @@ AppFile::AppFile(StringView path)
|
|||
{
|
||||
}
|
||||
|
||||
AppFile::~AppFile()
|
||||
{
|
||||
}
|
||||
|
||||
bool AppFile::validate() const
|
||||
{
|
||||
if (m_config->read_entry("App", "Name").trim_whitespace().is_empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue