aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/test/script/builtin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/test/script/builtin.cxx b/libbuild2/test/script/builtin.cxx
index e572411..2c3d83c 100644
--- a/libbuild2/test/script/builtin.cxx
+++ b/libbuild2/test/script/builtin.cxx
@@ -218,7 +218,7 @@ namespace build2
p = parse_path (move (f), sp.wd_path);
- ifdstream is (p, ifdstream::binary);
+ ifdstream is (p, fdopen_mode::binary);
copy (is);
is.close ();
}