Commit 8b81dacf authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Only store previous time name if it is not at the current head

parent e6ddde73
......@@ -655,7 +655,10 @@ bool Foam::Time::writeObject
// Does the writeTime trigger purging?
if (writeTime_ && purgeWrite_)
if ( != timeName())
while (previousWriteTimes_.size() > purgeWrite_)
Markdown is supported
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