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/io/stringstream.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/io/stringstream.cpp') diff --git a/src/io/stringstream.cpp b/src/io/stringstream.cpp index 5a76e24a3..62918ffa5 100644 --- a/src/io/stringstream.cpp +++ b/src/io/stringstream.cpp @@ -37,9 +37,7 @@ StringInputStream::StringInputStream(Glib::ustring &sourceString) * */ StringInputStream::~StringInputStream() -{ - -} += default; /** * Returns the number of bytes that can be read (or skipped over) from @@ -82,15 +80,13 @@ int StringInputStream::get() * */ StringOutputStream::StringOutputStream() -{ -} += default; /** * */ StringOutputStream::~StringOutputStream() -{ -} += default; /** * Closes this output stream and releases any system resources -- cgit v1.2.3