mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: simplify stream construction
- with IOstreamOption there are no cases where we need to construct top-level streams (eg, IFstream, OFstream) with additional information about the internal IOstream 'version' (eg, version: 2.0). Makes it more convenient to open files with a specified format/compression combination - no clutter of specifying the version
This commit is contained in:
@ -79,7 +79,6 @@ int main(int argc, char *argv[])
|
||||
(
|
||||
objPath,
|
||||
IOstreamOption::BINARY,
|
||||
IOstreamOption::currentVersion,
|
||||
runTime.writeCompression()
|
||||
);
|
||||
if (!os.good())
|
||||
|
||||
Reference in New Issue
Block a user