From aea4e5401af4e28a32d99e0e3c2ecd42888c2ba4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 3 Nov 2016 00:50:07 +0300 Subject: Adopt to auto_fd introduced to libbutl fdstreams and process --- bpkg/archive.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/archive.cxx') diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx index da381a4..89bb0ed 100644 --- a/bpkg/archive.cxx +++ b/bpkg/archive.cxx @@ -101,7 +101,7 @@ namespace bpkg // Do not throw when eofbit is set (end of stream reached), and // when failbit is set (getline() failed to extract any character). // - ifdstream is (pr.in_ofd, ifdstream::badbit); + ifdstream is (move (pr.in_ofd), ifdstream::badbit); string s; getline (is, s, '\0'); -- cgit v1.1