summaryrefslogtreecommitdiffstats
path: root/src/dom/io/stringstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/io/stringstream.cpp')
-rw-r--r--src/dom/io/stringstream.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dom/io/stringstream.cpp b/src/dom/io/stringstream.cpp
index 93fb0c0b5..f2745a107 100644
--- a/src/dom/io/stringstream.cpp
+++ b/src/dom/io/stringstream.cpp
@@ -140,9 +140,10 @@ void StringOutputStream::flush()
/**
* Writes the specified byte to this output stream.
*/
-void StringOutputStream::put(XMLCh ch)
+int StringOutputStream::put(XMLCh ch)
{
buffer.push_back(ch);
+ return 1;
}