diff --git a/applications/test/CircularBuffer/Test-CircularBuffer.C b/applications/test/CircularBuffer/Test-CircularBuffer.C index 98cde44170..e28b105401 100644 --- a/applications/test/CircularBuffer/Test-CircularBuffer.C +++ b/applications/test/CircularBuffer/Test-CircularBuffer.C @@ -34,7 +34,6 @@ Description #include "argList.H" #include "ListOps.H" #include "CircularBuffer.H" -#include "StringStream.H" #include "FlatOutput.H" using namespace Foam; @@ -79,7 +78,7 @@ int main(int argc, char *argv[]) Info<< buf1[-12] << nl; - Info<< "found: " << buf1.found(40) << nl; + Info<< "contains: " << buf1.contains(40) << nl; buf1.push_uniq(100); report(buf1); buf1 = Zero; report(buf1); diff --git a/applications/test/CompactListList/Test-CompactListList.C b/applications/test/CompactListList/Test-CompactListList.C index a8ad0d471e..892fe58644 100644 --- a/applications/test/CompactListList/Test-CompactListList.C +++ b/applications/test/CompactListList/Test-CompactListList.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2022 OpenCFD Ltd. + Copyright (C) 2022-2023 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -35,7 +35,7 @@ Description #include "CompactListList.H" #include "IndirectList.H" #include "IOstreams.H" -#include "StringStream.H" +#include "SpanStream.H" #include "faceList.H" using namespace Foam; @@ -126,20 +126,20 @@ int main(int argc, char *argv[]) { // IO - OStringStream ostr; + OCharStream ostr; ostr << cll4; - IStringStream istr(ostr.str()); + ISpanStream istr(ostr.view()); CompactListList