From d933699b4dd106c227f8d07a2471d5f39f1c82af Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 3 Nov 2016 00:49:14 +0300 Subject: Adopt to auto_fd introduced to libbutl fdstreams and process --- build2/utility.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/utility.txx') diff --git a/build2/utility.txx b/build2/utility.txx index bba66d6..8b5bdd2 100644 --- a/build2/utility.txx +++ b/build2/utility.txx @@ -45,7 +45,7 @@ namespace build2 try { - ifdstream is (pr.in_ofd); + ifdstream is (move (pr.in_ofd)); while (is.peek () != ifdstream::traits_type::eof () && // Keep last line. getline (is, l)) -- cgit v1.1