forked from Alepha/Alepha
Fix delimited list unimpl function.
This commit is contained in:
@ -33,10 +33,10 @@ namespace Alepha::Hydrogen ::detail:: delimited_list_m
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit
|
explicit
|
||||||
DelimitedListStreambuf( std::ios &is, const DelimiterWriter writer )
|
DelimitedListStreambuf( std::ios &ios, const DelimiterWriter writer )
|
||||||
: StackableStreambuf( is ), writer( writer )
|
: StackableStreambuf( ios ), writer( writer )
|
||||||
{
|
{
|
||||||
tracker.get( is )= this;
|
tracker.get( ios )= this;
|
||||||
if( C::debug ) error() << "Streambuf adapted." << std::endl;
|
if( C::debug ) error() << "Streambuf adapted." << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ namespace Alepha::Hydrogen ::detail:: delimited_list_m
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void writeChar( char ) override { throw "Unimpl"; }
|
void writeChar( char ) override { throw "Unimpl"; }
|
||||||
void drain() override { throw "Unimpl"; }
|
void drain() override {} // Do nothing...
|
||||||
|
|
||||||
int
|
int
|
||||||
overflow( const int ch ) override
|
overflow( const int ch ) override
|
||||||
|
Reference in New Issue
Block a user