STYLE: use static call for regIOobject::store (#1507)

This commit is contained in:
Mark Olesen
2024-01-04 12:03:21 +01:00
parent 87eed74e42
commit ac574a6ccb
44 changed files with 227 additions and 225 deletions

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2021-2022 OpenCFD Ltd.
Copyright (C) 2021-2024 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -71,7 +71,7 @@ class readFieldsHandler
Log << " Reading " << io.name()
<< " (" << FieldType::typeName << ')' << endl;
mesh_.objectRegistry::store(new FieldType(io, mesh_));
regIOobject::store(new FieldType(io, mesh_));
return true;
}