diff options
author | 2010-08-22 10:44:08 +0100 | |
---|---|---|
committer | 2010-08-22 10:44:08 +0100 | |
commit | 976c3794e1f0d97cb923e86be81b64646951b03d (patch) | |
tree | e3cfd78bf61bdbb8b77142a2f9cb2b83e8df22c8 | |
parent | bde9fd51b19f1702be7c08138e35d2db4a255e11 (diff) | |
download | paludis-976c3794e1f0d97cb923e86be81b64646951b03d.tar.gz paludis-976c3794e1f0d97cb923e86be81b64646951b03d.tar.xz |
Fix 4.5 compile
-rw-r--r-- | paludis/util/process.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc index ab13f6ee1..1e22ec8b1 100644 --- a/paludis/util/process.cc +++ b/paludis/util/process.cc @@ -495,7 +495,7 @@ namespace paludis } Process::Process(ProcessCommand && c) : - Pimp<Process>(c) + Pimp<Process>(std::move(c)) { } @@ -754,7 +754,7 @@ Process::run() if (thread) thread->start(); - return RunningProcessHandle(_imp->as_main_process ? 0 : child, thread); + return RunningProcessHandle(_imp->as_main_process ? 0 : child, std::move(thread)); } } @@ -949,7 +949,7 @@ namespace paludis } RunningProcessHandle::RunningProcessHandle(pid_t p, std::unique_ptr<RunningProcessThread> && t) : - Pimp<RunningProcessHandle>(p, t) + Pimp<RunningProcessHandle>(p, std::move(t)) { } @@ -963,7 +963,7 @@ RunningProcessHandle::~RunningProcessHandle() } RunningProcessHandle::RunningProcessHandle(RunningProcessHandle && other) : - Pimp<RunningProcessHandle>(other._imp->pid, other._imp->thread) + Pimp<RunningProcessHandle>(other._imp->pid, std::move(other._imp->thread)) { _imp->pid = -1; } |