Commit 77a5e574 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: fully qualify IListStream parameter (fixes #1521)

- stops clang-9 error of List being constrained by private inheritance
parent b601d7bf
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com \\ / A nd | www.openfoam.com
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2017-2018 OpenCFD Ltd. Copyright (C) 2017-2019 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
...@@ -128,7 +128,7 @@ public: ...@@ -128,7 +128,7 @@ public:
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class IListStream Declaration Class IListStream Declaration
\*----------------------------------------------d-----------------------------*/ \*---------------------------------------------------------------------------*/
//- An ISstream with internal List storage //- An ISstream with internal List storage
class IListStream class IListStream
...@@ -158,7 +158,7 @@ public: ...@@ -158,7 +158,7 @@ public:
//- Move construct from List //- Move construct from List
IListStream IListStream
( (
List<char>&& buffer, ::Foam::List<char>&& buffer, // Fully qualify (issue #1521)
streamFormat format=ASCII, streamFormat format=ASCII,
versionNumber version=currentVersion, versionNumber version=currentVersion,
const Foam::string& name="input" const Foam::string& name="input"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment