diff options
Diffstat (limited to 'build2/cc/msvc.cxx')
-rw-r--r-- | build2/cc/msvc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/msvc.cxx b/build2/cc/msvc.cxx index 5261072..81736c9 100644 --- a/build2/cc/msvc.cxx +++ b/build2/cc/msvc.cxx @@ -144,7 +144,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); while (getline (is, s)) { |