diff options
Diffstat (limited to 'build2/cc/gcc.cxx')
-rw-r--r-- | build2/cc/gcc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/gcc.cxx b/build2/cc/gcc.cxx index a5c8357..b4ec45c 100644 --- a/build2/cc/gcc.cxx +++ b/build2/cc/gcc.cxx @@ -54,7 +54,8 @@ namespace build2 try { - ifdstream is (pr.in_ofd, fdstream_mode::skip, ifdstream::badbit); + ifdstream is ( + move (pr.in_ofd), fdstream_mode::skip, ifdstream::badbit); // The output of -print-search-dirs are a bunch of lines that start // with "<name>: =" where name can be "install", "programs", or |