Commit 0f27a540 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: initialization order

parent 8e0b0536
......@@ -158,7 +158,7 @@ Foam::functionObjects::writeFile::writeFile(const writeFile& wf)
fileObr_(wf.fileObr_),
prefix_(wf.prefix_),
fileName_(wf.fileName_),
filePtr_(),
filePtr_(nullptr),
writePrecision_(wf.writePrecision_),
writeToFile_(wf.writeToFile_),
updateHeader_(wf.updateHeader_),
......@@ -179,10 +179,10 @@ Foam::functionObjects::writeFile::writeFile
fileObr_(obr),
prefix_(prefix),
fileName_(name),
filePtr_(),
filePtr_(nullptr),
writePrecision_(IOstream::defaultPrecision()),
updateHeader_(true),
writeToFile_(writeToFile),
updateHeader_(true),
writtenHeader_(false),
useUserTime_(true),
startTime_(obr.time().startTime().value())
......
......@@ -59,7 +59,6 @@ namespace functionObjects
class writeFile
{
protected:
// Protected data
......
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