aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-27 13:43:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-27 13:43:18 +0100
commit95a08b952c47535dd6a06e810c44bb1f8b271bb3 (patch)
tree9cd80ce508a1e0f093d6ae1b4191e5a7a8743317
parent65ca72b275ab7a126c6a02148ae7f31c8fc3c01b (diff)
downloadpaludis-95a08b952c47535dd6a06e810c44bb1f8b271bb3.tar.gz
paludis-95a08b952c47535dd6a06e810c44bb1f8b271bb3.tar.xz
Let user-defined managers override builtins
Fixes: ticket:978
-rw-r--r--paludis/environments/paludis/output_conf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/environments/paludis/output_conf.cc b/paludis/environments/paludis/output_conf.cc
index f490ed2..e8b15be 100644
--- a/paludis/environments/paludis/output_conf.cc
+++ b/paludis/environments/paludis/output_conf.cc
@@ -398,7 +398,7 @@ OutputConf::add(const FSPath & filename)
for (Managers::const_iterator m(local_managers.begin()), m_end(local_managers.end()) ;
m != m_end ; ++m)
- _imp->managers[m->first] = m->second;
+ _imp->managers.insert(std::make_pair(m->first, m->second));
for (auto i(f->begin()), i_end(f->end()) ;
i != i_end ; ++i)