Commit 7cbb29f6 authored by vitaut's avatar vitaut

Make FormatBuf::size() const

parent 053df632
...@@ -1832,7 +1832,7 @@ class FormatBuf : public std::basic_streambuf<Char> { ...@@ -1832,7 +1832,7 @@ class FormatBuf : public std::basic_streambuf<Char> {
return ch; return ch;
} }
size_t size() { size_t size() const {
return this->pptr() - start_; return this->pptr() - start_;
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment