aboutsummaryrefslogtreecommitdiff
path: root/paludis/output_manager_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/output_manager_factory.cc')
-rw-r--r--paludis/output_manager_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/output_manager_factory.cc b/paludis/output_manager_factory.cc
index 03cc4d4a8..89afd179e 100644
--- a/paludis/output_manager_factory.cc
+++ b/paludis/output_manager_factory.cc
@@ -47,7 +47,7 @@ namespace paludis
{
namespace n
{
- struct create_function;
+ typedef Name<struct create_function_name> create_function;
}
}
@@ -139,7 +139,7 @@ OutputManagerFactory::add_manager(
f != f_end ; ++f)
{
if (! _imp->keys.insert(std::make_pair(*f, make_named_values<Funcs>(
- value_for<n::create_function>(create_function)
+ n::create_function() = create_function
))).second)
throw ConfigurationError("Handler for output manager format '" + stringify(*f) + "' already exists");
}