aboutsummaryrefslogtreecommitdiff
path: root/tests/fdstream/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fdstream/driver.cxx')
-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);
}