1
0
forked from Alepha/Alepha

Make the underlying streambuf private in stacks.

This commit is contained in:
2024-04-03 15:01:52 -04:00
parent 8250680e6c
commit d8689b85e8
5 changed files with 55 additions and 24 deletions

View File

@ -42,7 +42,7 @@ namespace Alepha::Hydrogen ::detail:: string_algorithms_m
writeChar( const char ch ) override
{
if( C::debugExpansion ) error() << "Entry to write and got `" << ch << '`' << std::endl;
std::ostream current{ underlying };
std::ostream current{ out().rdbuf() };
if( mode == Normal and ch == sigil )
{