mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use IOstreamOption for writeObject() calls.
- reduces the number of parameters that are being passed around and allows future additions into the IOstreamOption with mininal effort.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
Copyright (C) 2015-2019 OpenCFD Ltd.
|
||||
Copyright (C) 2015-2020 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -625,9 +625,7 @@ bool Foam::functionObjectList::execute()
|
||||
|
||||
stateDictPtr_->writeObject
|
||||
(
|
||||
IOstream::ASCII,
|
||||
IOstream::currentVersion,
|
||||
time_.writeCompression(),
|
||||
IOstreamOption(IOstream::ASCII, time_.writeCompression()),
|
||||
true
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user