STYLE: update applications/tests to use SpanStream/CharStream

This commit is contained in:
Mark Olesen
2023-10-04 18:29:16 +02:00
committed by Andrew Heather
parent 3693d61e6c
commit 0fb2c8eb1c
28 changed files with 99 additions and 93 deletions

View File

@ -37,7 +37,7 @@ Description
#include "HashSet.H"
#include "ListOps.H"
#include "cpuTime.H"
#include "StringStream.H"
#include "SpanStream.H"
#include "FlatOutput.H"
#include <vector>
#include <unordered_set>
@ -124,7 +124,7 @@ int main(int argc, char *argv[])
Info<< "Test read/write (ASCII)" << nl;
OStringStream ostr;
OCharStream ostr;
undecorated(ostr, set3a); // like flatOutput
ostr << bitSet();
@ -132,7 +132,7 @@ int main(int argc, char *argv[])
undecorated(ostr, set3a); // like flatOutput
{
IStringStream istr(ostr.str());
ISpanStream istr(ostr.view());
Info<< "parse: " << istr.str() << nl;
bitSet bset1(istr);