aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-22 10:44:08 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-22 10:44:08 +0100
commit976c3794e1f0d97cb923e86be81b64646951b03d (patch)
treee3cfd78bf61bdbb8b77142a2f9cb2b83e8df22c8
parentbde9fd51b19f1702be7c08138e35d2db4a255e11 (diff)
downloadpaludis-976c3794e1f0d97cb923e86be81b64646951b03d.tar.gz
paludis-976c3794e1f0d97cb923e86be81b64646951b03d.tar.xz
Fix 4.5 compile
-rw-r--r--paludis/util/process.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index ab13f6e..1e22ec8 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;
}