From 76b8baa701fa2f484bb9fd83fa6ab9bb25b4acbb Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Tue, 9 Feb 2021 21:18:12 +0000 Subject: [PATCH] thermophysicalFunctions/APIdiffCoef: Prevent Clang warning --- .../specie/thermophysicalFunctions/APIdiffCoef/APIdiffCoef.H | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/thermophysicalModels/specie/thermophysicalFunctions/APIdiffCoef/APIdiffCoef.H b/src/thermophysicalModels/specie/thermophysicalFunctions/APIdiffCoef/APIdiffCoef.H index 1fd6e7eb90..95683d8c6a 100644 --- a/src/thermophysicalModels/specie/thermophysicalFunctions/APIdiffCoef/APIdiffCoef.H +++ b/src/thermophysicalModels/specie/thermophysicalFunctions/APIdiffCoef/APIdiffCoef.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -98,6 +98,9 @@ public: // Member Functions + //- Inherit base class value methods to prevent clang warnings + using FieldFunction2::value; + //- API vapour mass diffusivity function using properties from // construction virtual scalar value(scalar p, scalar T) const