aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-12 17:30:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-12 17:30:21 +0200
commit800bf1b9f67aae867ffe900a545444dfe8aa46c9 (patch)
treea922800952ec2204340fb32eb8fab84a58be4306
parentc2d8cf50dae3e352053db2d75060ae8e6a026ab6 (diff)
Use new fdstream constructor
-rw-r--r--tests/fdstream/driver.cxx2
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);
}