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:
|
||||
explicit
|
||||
DelimitedListStreambuf( std::ios &is, const DelimiterWriter writer )
|
||||
: StackableStreambuf( is ), writer( writer )
|
||||
DelimitedListStreambuf( std::ios &ios, const DelimiterWriter writer )
|
||||
: StackableStreambuf( ios ), writer( writer )
|
||||
{
|
||||
tracker.get( is )= this;
|
||||
tracker.get( ios )= this;
|
||||
if( C::debug ) error() << "Streambuf adapted." << std::endl;
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ namespace Alepha::Hydrogen ::detail:: delimited_list_m
|
||||
|
||||
private:
|
||||
void writeChar( char ) override { throw "Unimpl"; }
|
||||
void drain() override { throw "Unimpl"; }
|
||||
void drain() override {} // Do nothing...
|
||||
|
||||
int
|
||||
overflow( const int ch ) override
|
||||
|
Reference in New Issue
Block a user