mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: avoid some implicit dictionary construct from Istream
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2012-2018 Bernhard Gschaider <bgschaid@hfd-research.com>
|
||||
Copyright (C) 2012-2018 Bernhard Gschaider
|
||||
Copyright (C) 2019-2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -354,6 +354,17 @@ Foam::expressions::exprResult::New
|
||||
}
|
||||
|
||||
|
||||
Foam::autoPtr<Foam::expressions::exprResult>
|
||||
Foam::expressions::exprResult::New
|
||||
(
|
||||
Istream& is
|
||||
)
|
||||
{
|
||||
dictionary dict(is);
|
||||
return New(dict);
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::expressions::exprResult::~exprResult()
|
||||
|
||||
Reference in New Issue
Block a user