diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-15 17:02:56 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-18 12:27:01 +0000 |
| commit | 004e50d84773242a000f5cadb89466bbc793e1a8 (patch) | |
| tree | 019c32e65caa08fe7cf90b521787531a7b1d2225 /src/object/sp-script.cpp | |
| parent | Run clang-tidy’s modernize-use-nullptr pass. (diff) | |
| download | inkscape-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-script.cpp')
| -rw-r--r-- | src/object/sp-script.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object/sp-script.cpp b/src/object/sp-script.cpp index 45cf25bbf..e60789eb0 100644 --- a/src/object/sp-script.cpp +++ b/src/object/sp-script.cpp @@ -18,8 +18,7 @@ SPScript::SPScript() : SPObject() { this->xlinkhref = nullptr; } -SPScript::~SPScript() { -} +SPScript::~SPScript() = default; void SPScript::build(SPDocument* doc, Inkscape::XML::Node* repr) { SPObject::build(doc, repr); |
