aboutsummaryrefslogtreecommitdiff
path: root/butl/process.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/process.ixx')
-rw-r--r--butl/process.ixx12
1 files changed, 6 insertions, 6 deletions
diff --git a/butl/process.ixx b/butl/process.ixx
index 6d4dd2f..1bc259c 100644
--- a/butl/process.ixx
+++ b/butl/process.ixx
@@ -139,9 +139,9 @@ namespace butl
process (process&& p)
: handle (p.handle),
status (p.status),
- out_fd (p.out_fd),
- in_ofd (p.in_ofd),
- in_efd (p.in_efd)
+ out_fd (std::move (p.out_fd)),
+ in_ofd (std::move (p.in_ofd)),
+ in_efd (std::move (p.in_efd))
{
p.handle = 0;
}
@@ -156,9 +156,9 @@ namespace butl
handle = p.handle;
status = std::move (p.status);
- out_fd = p.out_fd;
- in_ofd = p.in_ofd;
- in_efd = p.in_efd;
+ out_fd = std::move (p.out_fd);
+ in_ofd = std::move (p.in_ofd);
+ in_efd = std::move (p.in_efd);
p.handle = 0;
}