Skip to content
Snippets Groups Projects
Commit 1cf6e4ab authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: logFiles - minor change to suppress compiler warning

parent d1000099
No related branches found
No related tags found
1 merge request!121Merge develop into master for v1706 release
......@@ -129,7 +129,7 @@ Foam::PtrList<Foam::OFstream>& Foam::functionObjects::logFiles::files()
}
Foam::OFstream& Foam::functionObjects::logFiles::file(const label i)
Foam::OFstream& Foam::functionObjects::logFiles::files(const label i)
{
if (!Pstream::master())
{
......
......@@ -128,7 +128,7 @@ public:
PtrList<OFstream>& files();
//- Return file 'i'
OFstream& file(const label i);
OFstream& files(const label i);
//- Write function
virtual bool write();
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment