COMP: basicThermo: object instead of class name. See #1180.

This commit is contained in:
mattijs
2019-02-06 09:28:36 +00:00
parent cd8e32f603
commit d0d83b0784

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd. \\/ M anipulation | Copyright (C) 2017-2019 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -151,7 +151,7 @@ Foam::volScalarField& Foam::basicThermo::lookupOrConstruct
); );
// Transfer ownership of this object to the objectRegistry // Transfer ownership of this object to the objectRegistry
ptr->store(ptr); ptr->store();
} }
return *ptr; return *ptr;