1
0
forked from Alepha/Alepha

Fix delimited list unimpl function.

This commit is contained in:
2024-04-04 22:31:35 -04:00
parent 1a6460e717
commit 8ae94293ce

View File

@ -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