Skip to content
Snippets Groups Projects
Commit d5edc848 authored by Mark Olesen's avatar Mark Olesen
Browse files

BUG: invalid expand() on const fileName&

parent 5ddca2ee
Branches
Tags
No related merge requests found
......@@ -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_)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment