COMP: tag lookupObjectPtr and lookupObjectRefPtr as deprecated

- were deprecated via comments (2018-10).
  Now mark with compilation warning
This commit is contained in:
Mark Olesen
2020-05-01 16:42:55 +02:00
parent 0c163e40e5
commit 0680416b59
9 changed files with 28 additions and 25 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2013-2017 OpenFOAM Foundation
Copyright (C) 2016-2019 OpenCFD Ltd.
Copyright (C) 2016-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -174,7 +174,7 @@ bool Foam::functionObjects::writeDictionary::write()
forAll(dictNames_, dicti)
{
const IOdictionary* dictptr =
obr_.lookupObjectPtr<IOdictionary>(dictNames_[dicti]);
obr_.cfindObject<IOdictionary>(dictNames_[dicti]);
if (dictptr)
{