mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: fully qualify IListStream parameter (fixes #1521)
- stops clang-9 error of List being constrained by private inheritance
This commit is contained in:
@ -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:
|
|||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
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:
|
|||||||
//- 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user