aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clients/cave/command_factory.cc10
-rw-r--r--src/clients/cave/search_extras_handle.cc6
2 files changed, 10 insertions, 6 deletions
diff --git a/src/clients/cave/command_factory.cc b/src/clients/cave/command_factory.cc
index 707cc5f4c..132bd7019 100644
--- a/src/clients/cave/command_factory.cc
+++ b/src/clients/cave/command_factory.cc
@@ -244,7 +244,9 @@ UnknownCommand::UnknownCommand(const std::string & s) throw () :
{
}
-template class Singleton<CommandFactory>;
-template class Pimp<CommandFactory>;
-template class WrappedForwardIterator<CommandFactory::ConstIteratorTag, const std::string>;
-
+namespace paludis
+{
+ template class Singleton<CommandFactory>;
+ template class Pimp<CommandFactory>;
+ template class WrappedForwardIterator<CommandFactory::ConstIteratorTag, const std::string>;
+}
diff --git a/src/clients/cave/search_extras_handle.cc b/src/clients/cave/search_extras_handle.cc
index 9ca59820d..95ce8c772 100644
--- a/src/clients/cave/search_extras_handle.cc
+++ b/src/clients/cave/search_extras_handle.cc
@@ -90,5 +90,7 @@ SearchExtrasHandle::~SearchExtrasHandle()
::dlclose(handle);
}
-template class Singleton<SearchExtrasHandle>;
-
+namespace paludis
+{
+ template class Singleton<SearchExtrasHandle>;
+}