aboutsummaryrefslogtreecommitdiff
path: root/load
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-11-03 00:50:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-11-03 14:10:15 +0300
commitc12b9dfbbe0b3923a878659d1d02679521200e97 (patch)
treeb91ceb70d716775c2dc97a29bb889daaa437bb8e /load
parent46ffb3ceef7e06024e3788bafdbe256407c0267e (diff)
Adopt to auto_fd introduced to libbutl fdstreams and process
Diffstat (limited to 'load')
-rw-r--r--load/load.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/load/load.cxx b/load/load.cxx
index cea9f21..6845120 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -880,7 +880,8 @@ certificate_info (const options& lo,
try
{
ifdstream is (
- pr.in_ofd, ifdstream::failbit | ifdstream::badbit | ifdstream::eofbit);
+ move (pr.in_ofd),
+ ifdstream::failbit | ifdstream::badbit | ifdstream::eofbit);
optional<certificate> cert;