mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47: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
2 changed files with 2 additions and 5 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
static NonnullRefPtr<AppFile> get_for_app(StringView app_name);
|
||||
static NonnullRefPtr<AppFile> open(StringView path);
|
||||
static void for_each(Function<void(NonnullRefPtr<AppFile>)>, StringView directory = APP_FILES_DIRECTORY);
|
||||
~AppFile();
|
||||
~AppFile() = default;
|
||||
|
||||
bool is_valid() const { return m_valid; }
|
||||
String filename() const { return m_config->filename(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue