Make FormatBuf::size() const

This commit is contained in:
vitaut 2015-11-25 08:27:46 -08:00
parent 053df632f8
commit 7cbb29f61e

View File

@ -1832,7 +1832,7 @@ class FormatBuf : public std::basic_streambuf<Char> {
return ch;
}
size_t size() {
size_t size() const {
return this->pptr() - start_;
}
};