objectRegistry: Set the path of the Time objectRegistry

Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2030
This commit is contained in:
Henry Weller
2016-03-20 10:31:48 +00:00
parent 3c3a02e61c
commit 9209192b65

View File

@ -55,7 +55,7 @@ Foam::objectRegistry::objectRegistry
IOobject IOobject
( (
string::validate<word>(t.caseName()), string::validate<word>(t.caseName()),
"", t.path(),
t, t,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::AUTO_WRITE, IOobject::AUTO_WRITE,