IOOutputFilter: Updated the signature of the 'write' function to correspond to the new functionObject

This commit is contained in:
Henry Weller
2016-05-18 23:09:26 +01:00
parent 67de20df25
commit 7af20fd9db
2 changed files with 3 additions and 3 deletions

View File

@ -122,9 +122,9 @@ bool Foam::IOOutputFilter<OutputFilter>::read()
template<class OutputFilter>
void Foam::IOOutputFilter<OutputFilter>::write()
bool Foam::IOOutputFilter<OutputFilter>::write(const bool postProcess)
{
OutputFilter::write();
return OutputFilter::write(postProcess);
}

View File

@ -126,7 +126,7 @@ public:
using regIOobject::write;
//- Sample and write
virtual void write();
virtual bool write(const bool postProcess = false);
//- Update for changes of mesh
virtual void updateMesh(const mapPolyMesh& mpm);