███████████-appender: tiny modification.

This commit is contained in:
Alexey Milovidov 2011-05-10 17:23:29 +00:00
parent b18bedd18c
commit 57e0a3a25a

View File

@ -75,6 +75,16 @@ public:
bytes_written += n;
}
inline void write(char x)
{
nextIfAtEnd();
*pos = x;
++pos;
++bytes_written;
}
size_t count()
{
return bytes_written;