ENH: logFiles - minor change to suppress compiler warning

This commit is contained in:
Andrew Heather
2017-02-03 14:34:19 +00:00
parent d62e301b4b
commit f532a99dc3
3 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ bool Foam::functionObjects::cloudInfo::read(const dictionary& dict)
forAll(names(), i)
{
Info<< " " << names()[i] << nl;
writeFileHeader(file(i));
writeFileHeader(files(i));
}
Info<< endl;
}
@ -148,8 +148,8 @@ bool Foam::functionObjects::cloudInfo::write()
if (writeToFile())
{
writeTime(file(i));
file(i)
writeTime(files(i));
files(i)
<< token::TAB
<< nParcels << token::TAB
<< massInSystem << token::TAB