Removed use of the deprecated "register" keyword
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340.html
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -51,7 +51,7 @@ void Foam::enrichedPatch::calcPointPoints() const
|
||||
|
||||
const faceList& lf = localFaces();
|
||||
|
||||
register bool found = false;
|
||||
bool found = false;
|
||||
|
||||
forAll(lf, faceI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user