summaryrefslogtreecommitdiffstats
path: root/src/io/stringstream.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-03-03 09:18:37 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-03-03 09:18:37 +0000
commit1279e676eccb0b3786d21fd390e4965f78a003c1 (patch)
tree7caebee8350e7ddced1dfdccb1b34d38a7d47b8c /src/io/stringstream.cpp
parentFix autotools deprecation warnings (diff)
downloadinkscape-1279e676eccb0b3786d21fd390e4965f78a003c1.tar.gz
inkscape-1279e676eccb0b3786d21fd390e4965f78a003c1.zip
Preparation to merge /dom/io and /io code (bug #1120585 )
(bzr r12168)
Diffstat (limited to 'src/io/stringstream.cpp')
-rw-r--r--src/io/stringstream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/stringstream.cpp b/src/io/stringstream.cpp
index f204a99d5..5a76e24a3 100644
--- a/src/io/stringstream.cpp
+++ b/src/io/stringstream.cpp
@@ -112,9 +112,10 @@ void StringOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-void StringOutputStream::put(gunichar ch)
+int StringOutputStream::put(gunichar ch)
{
buffer.push_back(ch);
+ return 1;
}