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>(),
|
||||
chemDict_(IFstream(reactionsFileName.expand())),
|
||||
thermoDict_(IFstream(thermoFileName.expand())),
|
||||
chemDict_
|
||||
(
|
||||
IFstream
|
||||
(
|
||||
fileName(reactionsFileName).expand()
|
||||
)()
|
||||
),
|
||||
thermoDict_
|
||||
(
|
||||
IFstream
|
||||
(
|
||||
fileName(thermoFileName).expand()
|
||||
)()
|
||||
),
|
||||
speciesThermo_(thermoDict_),
|
||||
speciesTable_(chemDict_.lookup("species")),
|
||||
reactions_(speciesTable_, speciesThermo_, chemDict_)
|
||||
|
||||
Reference in New Issue
Block a user