summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/SysFS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/SysFS.cpp')
-rw-r--r--Kernel/FileSystem/SysFS.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/Kernel/FileSystem/SysFS.cpp b/Kernel/FileSystem/SysFS.cpp
index 7395f0addb..d3ac479ffb 100644
--- a/Kernel/FileSystem/SysFS.cpp
+++ b/Kernel/FileSystem/SysFS.cpp
@@ -73,13 +73,8 @@ ErrorOr<NonnullRefPtr<SysFS>> SysFS::try_create()
return adopt_nonnull_ref_or_enomem(new (nothrow) SysFS);
}
-SysFS::SysFS()
-{
-}
-
-SysFS::~SysFS()
-{
-}
+SysFS::SysFS() = default;
+SysFS::~SysFS() = default;
ErrorOr<void> SysFS::initialize()
{
@@ -202,9 +197,7 @@ SysFSDirectoryInode::SysFSDirectoryInode(SysFS const& fs, SysFSComponent const&
{
}
-SysFSDirectoryInode::~SysFSDirectoryInode()
-{
-}
+SysFSDirectoryInode::~SysFSDirectoryInode() = default;
InodeMetadata SysFSDirectoryInode::metadata() const
{