mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: tag lookupObjectPtr and lookupObjectRefPtr as deprecated
- were deprecated via comments (2018-10). Now mark with compilation warning
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2019 OpenCFD Ltd.
|
||||
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -101,7 +101,7 @@ bool Foam::functionObjects::continuityError::execute()
|
||||
|
||||
bool Foam::functionObjects::continuityError::write()
|
||||
{
|
||||
const auto phiPtr = mesh_.lookupObjectPtr<surfaceScalarField>(phiName_);
|
||||
const auto* phiPtr = mesh_.cfindObject<surfaceScalarField>(phiName_);
|
||||
|
||||
if (!phiPtr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user