summaryrefslogtreecommitdiffstats
path: root/src/object/sp-path.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-15 17:02:56 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-18 12:27:01 +0000
commit004e50d84773242a000f5cadb89466bbc793e1a8 (patch)
tree019c32e65caa08fe7cf90b521787531a7b1d2225 /src/object/sp-path.cpp
parentRun clang-tidy’s modernize-use-nullptr pass. (diff)
downloadinkscape-004e50d84773242a000f5cadb89466bbc793e1a8.tar.gz
inkscape-004e50d84773242a000f5cadb89466bbc793e1a8.zip
Run clang-tidy’s modernize-use-equals-default pass.
This replaces empty constructors and destructors with the default keyword.
Diffstat (limited to 'src/object/sp-path.cpp')
-rw-r--r--src/object/sp-path.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp
index 51fa549e7..44070b6a3 100644
--- a/src/object/sp-path.cpp
+++ b/src/object/sp-path.cpp
@@ -112,8 +112,7 @@ void SPPath::convert_to_guides() const {
SPPath::SPPath() : SPShape(), connEndPair(this) {
}
-SPPath::~SPPath() {
-}
+SPPath::~SPPath() = default;
void SPPath::build(SPDocument *document, Inkscape::XML::Node *repr) {
/* Are these calls actually necessary? */