summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Path.h
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/Path.h
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/Path.h')
-rw-r--r--Userland/Libraries/LibGfx/Path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Path.h b/Userland/Libraries/LibGfx/Path.h
index 5519bc959f..cad1c88099 100644
--- a/Userland/Libraries/LibGfx/Path.h
+++ b/Userland/Libraries/LibGfx/Path.h
@@ -143,7 +143,7 @@ private:
class Path {
public:
- Path() { }
+ Path() = default;
void move_to(const FloatPoint& point)
{