summaryrefslogtreecommitdiff
path: root/src/strbuffer.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-10-06 18:44:58 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-10-06 18:44:58 +0200
commit0abdef3c3dfe6df32eb6baebd18b451ee9a8abac (patch)
tree42df493d341e1098e2719dc6e79071c701484368 /src/strbuffer.h
parent97555c4c3daf4987b8958cb97a8bd8e82a5c756c (diff)
strbuffer: fix operator<<
Diffstat (limited to 'src/strbuffer.h')
-rw-r--r--src/strbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strbuffer.h b/src/strbuffer.h
index 98d89900..39070357 100644
--- a/src/strbuffer.h
+++ b/src/strbuffer.h
@@ -192,7 +192,7 @@ typedef BasicBuffer<char> Buffer;
typedef BasicBuffer<wchar_t> WBuffer;
template <typename CharT>
-Window operator<<(Window &w, const BasicBuffer<CharT> &buffer)
+Window &operator<<(Window &w, const BasicBuffer<CharT> &buffer)
{
if (buffer.properties().empty())
w << buffer.str();