int column() const { return column_; }
protected:
- int overflow(int);
+ int_type overflow(int_type);
int sync();
private:
setg(0, 0, 0);
}
-int TexStreamBuffer::overflow(int c)
+TexStreamBuffer::int_type TexStreamBuffer::overflow(TexStreamBuffer::int_type c)
{
if (c == '\n') {
++line_;
////////////////////////////////////////////////////////////////
TexStream::TexStream(TexStreamBase * sbuf, TexRow * texrow)
- : basic_ostream<char_type>(sbuf_ = new TexStreamBuffer(sbuf, texrow))
+ : std::basic_ostream<char_type>(sbuf_ = new TexStreamBuffer(sbuf, texrow))
{}