Skip to content
Snippets Groups Projects
Commit d0d83b07 authored by mattijs's avatar mattijs
Browse files

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

parent cd8e32f6
Branches
Tags
No related merge requests found
......@@ -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;
......
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