From 77a5e574af47713a402f6c7023537b35e151a47a Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Sat, 14 Dec 2019 16:40:45 +0100
Subject: [PATCH] COMP: fully qualify IListStream parameter (fixes #1521)

- stops clang-9 error of List being constrained by private inheritance
---
 src/OpenFOAM/db/IOstreams/memory/IListStream.H | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/OpenFOAM/db/IOstreams/memory/IListStream.H b/src/OpenFOAM/db/IOstreams/memory/IListStream.H
index aa6e02044ee..7f125d2f3df 100644
--- a/src/OpenFOAM/db/IOstreams/memory/IListStream.H
+++ b/src/OpenFOAM/db/IOstreams/memory/IListStream.H
@@ -5,7 +5,7 @@
     \\  /    A nd           | www.openfoam.com
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
-    Copyright (C) 2017-2018 OpenCFD Ltd.
+    Copyright (C) 2017-2019 OpenCFD Ltd.
 -------------------------------------------------------------------------------
 License
     This file is part of OpenFOAM.
@@ -128,7 +128,7 @@ public:
 
 /*---------------------------------------------------------------------------*\
                          Class IListStream Declaration
-\*----------------------------------------------d-----------------------------*/
+\*---------------------------------------------------------------------------*/
 
 //- An ISstream with internal List storage
 class IListStream
@@ -158,7 +158,7 @@ public:
         //- Move construct from List
         IListStream
         (
-            List<char>&& buffer,
+            ::Foam::List<char>&& buffer,  // Fully qualify (issue #1521)
             streamFormat format=ASCII,
             versionNumber version=currentVersion,
             const Foam::string& name="input"
-- 
GitLab