ENH: IOWarningIn: use new ..InFunction macros

This commit is contained in:
mattijs
2016-03-09 14:36:25 +00:00
parent c35544f9cb
commit ffa7dc7d6b
3 changed files with 8 additions and 9 deletions

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -394,7 +394,7 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime)
false
);
if (io.typeHeaderOk<pointScalarField>())
if (io.typeHeaderOk<pointScalarField>(true))
{
pointScalarField sizes(io, pointMesh::New(mesh));