From 004e50d84773242a000f5cadb89466bbc793e1a8 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 15 Jun 2018 19:02:56 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-equals-defau?= =?UTF-8?q?lt=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This replaces empty constructors and destructors with the default keyword. --- src/object/sp-image.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/object/sp-image.cpp') diff --git a/src/object/sp-image.cpp b/src/object/sp-image.cpp index 18e8b6674..a1efef51d 100644 --- a/src/object/sp-image.cpp +++ b/src/object/sp-image.cpp @@ -127,8 +127,7 @@ SPImage::SPImage() : SPItem(), SPViewBox() { this->pixbuf = nullptr; } -SPImage::~SPImage() { -} +SPImage::~SPImage() = default; void SPImage::build(SPDocument *document, Inkscape::XML::Node *repr) { SPItem::build(document, repr); -- cgit v1.2.3