summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/DDSLoader.cpp
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-03-14 13:26:37 -0600
committerLinus Groh <mail@linusgroh.de>2022-03-17 17:23:49 +0000
commit9c56a83b7600aef977d7cdec567b1b7a0d134ab2 (patch)
tree79a678b743d1ac227846436d60fd895d8e6fcf04 /Userland/Libraries/LibGfx/DDSLoader.cpp
parentc37820b898cdb9689debd28f9c66c70a16d3c663 (diff)
downloadserenity-9c56a83b7600aef977d7cdec567b1b7a0d134ab2.zip
Libraries: Use default constructors/destructors in LibGfx
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/LibGfx/DDSLoader.cpp')
-rw-r--r--Userland/Libraries/LibGfx/DDSLoader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibGfx/DDSLoader.cpp b/Userland/Libraries/LibGfx/DDSLoader.cpp
index 482184ff42..64ef66267b 100644
--- a/Userland/Libraries/LibGfx/DDSLoader.cpp
+++ b/Userland/Libraries/LibGfx/DDSLoader.cpp
@@ -944,9 +944,7 @@ DDSImageDecoderPlugin::DDSImageDecoderPlugin(const u8* data, size_t size)
m_context->data_size = size;
}
-DDSImageDecoderPlugin::~DDSImageDecoderPlugin()
-{
-}
+DDSImageDecoderPlugin::~DDSImageDecoderPlugin() = default;
IntSize DDSImageDecoderPlugin::size()
{