BUG: IOstream::compressionEnum() used Switch::switchType incorrectly
- use enhanced Switch constructor and the new valid() method to avoid potential pitfalls of using Switch::switchType directly.
Showing
- src/OpenFOAM/db/IOstreams/IOstreams/IOstream.C 2 additions, 2 deletionssrc/OpenFOAM/db/IOstreams/IOstreams/IOstream.C
- src/OpenFOAM/primitives/bools/Switch/Switch.C 1 addition, 2 deletionssrc/OpenFOAM/primitives/bools/Switch/Switch.C
- src/OpenFOAM/primitives/bools/Switch/SwitchIO.C 6 additions, 6 deletionssrc/OpenFOAM/primitives/bools/Switch/SwitchIO.C
Please register or sign in to comment