scrollpad: use std::string as container

This commit is contained in:
Andrzej Rybczak
2012-10-06 02:51:07 +02:00
parent eda2ea37a9
commit 43924f88e1
12 changed files with 55 additions and 71 deletions

View File

@@ -140,18 +140,12 @@ public:
return *this;
}
BasicBuffer<CharT> &operator<<(char c)
BasicBuffer<CharT> &operator<<(CharT c)
{
m_string += c;
return *this;
}
BasicBuffer<CharT> &operator<<(wchar_t wc)
{
m_string += wc;
return *this;
}
BasicBuffer<CharT> &operator<<(const CharT *s)
{
m_string += s;