aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/output_managers.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-12 01:26:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-12 01:26:20 +0000
commit5522cc551aaee176591b08546f368bb417c32f9e (patch)
tree975aa3b7325c820b51e35d1af4ee9dfc1bf7e2e4 /paludis/environments/paludis/output_managers.cc
parentb85660f6da793d06a304bf6d511c6b00344f20e2 (diff)
downloadpaludis-5522cc551aaee176591b08546f368bb417c32f9e.tar.gz
paludis-5522cc551aaee176591b08546f368bb417c32f9e.tar.xz
Add tee output manager
Diffstat (limited to 'paludis/environments/paludis/output_managers.cc')
-rw-r--r--paludis/environments/paludis/output_managers.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/environments/paludis/output_managers.cc b/paludis/environments/paludis/output_managers.cc
index 9ac7015d4..b5d29d87f 100644
--- a/paludis/environments/paludis/output_managers.cc
+++ b/paludis/environments/paludis/output_managers.cc
@@ -86,8 +86,10 @@ OutputManagers::create_named_output_manager(const std::string & s) const
if (i == _imp->store.end())
throw PaludisConfigError("No output manager named '" + s + "' exists");
- return OutputManagerFactory::get_instance()->create(std::tr1::bind(&from_kv, i->second,
- std::tr1::placeholders::_1));
+ return OutputManagerFactory::get_instance()->create(
+ std::tr1::bind(&from_kv, i->second, std::tr1::placeholders::_1),
+ std::tr1::bind(&OutputManagers::create_named_output_manager, this, std::tr1::placeholders::_1)
+ );
}
template class PrivateImplementationPattern<paludis_environment::OutputManagers>;