strbuffer: fix operator<<
This commit is contained in:
@@ -192,7 +192,7 @@ typedef BasicBuffer<char> Buffer;
|
|||||||
typedef BasicBuffer<wchar_t> WBuffer;
|
typedef BasicBuffer<wchar_t> WBuffer;
|
||||||
|
|
||||||
template <typename CharT>
|
template <typename CharT>
|
||||||
Window operator<<(Window &w, const BasicBuffer<CharT> &buffer)
|
Window &operator<<(Window &w, const BasicBuffer<CharT> &buffer)
|
||||||
{
|
{
|
||||||
if (buffer.properties().empty())
|
if (buffer.properties().empty())
|
||||||
w << buffer.str();
|
w << buffer.str();
|
||||||
|
|||||||
Reference in New Issue
Block a user