From 02de5923e7e26da9584f018e97023eb6ca619360 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Aug 2019 17:30:53 +0200 Subject: Use new fdstream constructor --- libbuild2/in/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/in') 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). // -- cgit v1.1