aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2010-01-12 22:34:02 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2010-01-13 17:40:06 +0000
commit35402f6a25d9439c310216ed1f7c55222dde3db3 (patch)
tree485ada532d399b13276083e97426579f5e660144
parentd6bf268a08a971bcbb6bb5b4df1b4d01cf33cfd6 (diff)
downloadpaludis-35402f6a25d9439c310216ed1f7c55222dde3db3.tar.gz
paludis-35402f6a25d9439c310216ed1f7c55222dde3db3.tar.xz
Fix gcc 4.1 build
-rw-r--r--paludis/ipc_output_manager.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/ipc_output_manager.cc b/paludis/ipc_output_manager.cc
index 939b979..907cb0e 100644
--- a/paludis/ipc_output_manager.cc
+++ b/paludis/ipc_output_manager.cc
@@ -410,8 +410,10 @@ const std::tr1::shared_ptr<OutputManager>
OutputManagerFromIPC::operator() (const Action & a)
{
if (! _imp->result)
- _imp->result.reset(new IPCOutputManager(_imp->read_fd, _imp->write_fd,
- CreateOutputManagerForPackageIDActionInfo(_imp->id, a, _imp->exclusivity)));
+ {
+ CreateOutputManagerForPackageIDActionInfo info(_imp->id, a, _imp->exclusivity);
+ _imp->result.reset(new IPCOutputManager(_imp->read_fd, _imp->write_fd, info));
+ }
return _imp->result;
}