summaryrefslogtreecommitdiffstats
path: root/src/io/stringstream.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/io/stringstream.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/io/stringstream.cpp')
-rw-r--r--src/io/stringstream.cpp10
1 files changed, 3 insertions, 7 deletions
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