aboutsummaryrefslogtreecommitdiff
path: root/bpkg/archive.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/archive.cxx')
-rw-r--r--bpkg/archive.cxx2
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');