mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: invalid expand() on const fileName&
This commit is contained in:
@ -37,8 +37,20 @@ Foam::foamChemistryReader<ThermoType>::foamChemistryReader
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
chemistryReader<ThermoType>(),
|
chemistryReader<ThermoType>(),
|
||||||
chemDict_(IFstream(reactionsFileName.expand())),
|
chemDict_
|
||||||
thermoDict_(IFstream(thermoFileName.expand())),
|
(
|
||||||
|
IFstream
|
||||||
|
(
|
||||||
|
fileName(reactionsFileName).expand()
|
||||||
|
)()
|
||||||
|
),
|
||||||
|
thermoDict_
|
||||||
|
(
|
||||||
|
IFstream
|
||||||
|
(
|
||||||
|
fileName(thermoFileName).expand()
|
||||||
|
)()
|
||||||
|
),
|
||||||
speciesThermo_(thermoDict_),
|
speciesThermo_(thermoDict_),
|
||||||
speciesTable_(chemDict_.lookup("species")),
|
speciesTable_(chemDict_.lookup("species")),
|
||||||
reactions_(speciesTable_, speciesThermo_, chemDict_)
|
reactions_(speciesTable_, speciesThermo_, chemDict_)
|
||||||
|
|||||||
Reference in New Issue
Block a user