diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-03 00:50:07 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-11-03 00:50:07 +0300 |
commit | aea4e5401af4e28a32d99e0e3c2ecd42888c2ba4 (patch) | |
tree | 161c99fc55f09e6c124f28dff44f6bd6c7f36295 /bpkg/archive.cxx | |
parent | da81a95f765302959ccc8293d0b1d566b5234297 (diff) |
Adopt to auto_fd introduced to libbutl fdstreams and process
Diffstat (limited to 'bpkg/archive.cxx')
-rw-r--r-- | bpkg/archive.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |