aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-12 17:30:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-12 17:30:53 +0200
commit02de5923e7e26da9584f018e97023eb6ca619360 (patch)
tree173c3050487090f3bd84460898bf3423479ba7e2 /libbuild2/in/rule.cxx
parentb90df69f990d7324736272cfe216ff058a5208f6 (diff)
Use new fdstream constructor
Diffstat (limited to 'libbuild2/in/rule.cxx')
-rw-r--r--libbuild2/in/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/in/rule.cxx b/libbuild2/in/rule.cxx
index bdc9b24..434250e 100644
--- a/libbuild2/in/rule.cxx
+++ b/libbuild2/in/rule.cxx
@@ -270,7 +270,7 @@ namespace build2
try
{
what = "open"; whom = &ip;
- ifdstream ifs (ip, fdopen_mode::in, ifdstream::badbit);
+ ifdstream ifs (ip, ifdstream::badbit);
// See fdopen() for details (umask, etc).
//