diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-12 17:30:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-12 17:30:21 +0200 |
commit | 800bf1b9f67aae867ffe900a545444dfe8aa46c9 (patch) | |
tree | a922800952ec2204340fb32eb8fab84a58be4306 | |
parent | c2d8cf50dae3e352053db2d75060ae8e6a026ab6 (diff) |
Use new fdstream constructor
-rw-r--r-- | tests/fdstream/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx index c5a35d4..e5ab98b 100644 --- a/tests/fdstream/driver.cxx +++ b/tests/fdstream/driver.cxx @@ -416,7 +416,7 @@ main (int argc, const char* argv[]) // program. // { - ofdstream ofs (f, fdopen_mode::out, ofdstream::badbit); + ofdstream ofs (f, ofdstream::badbit); ofs.clear (ofdstream::failbit); } |