Commit 1dea317a authored by mattijs's avatar mattijs

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

parent 68632022
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2017-2019 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -151,7 +151,7 @@ Foam::volScalarField& Foam::basicThermo::lookupOrConstruct
);
// Transfer ownership of this object to the objectRegistry
ptr->store(ptr);
ptr->store();
}
return *ptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment