diff options
author | 2011-08-07 03:35:05 +0200 | |
---|---|---|
committer | 2011-08-07 18:18:38 +0100 | |
commit | 0d9560ed1d5bfcb57752a0f4e66c74eef64188f4 (patch) | |
tree | 5789db7a2e875e7249a29ba9fc16e9bd6851287b /src | |
parent | f4136ef1d6b8bcb2bf1ce5c0a418b29961dc7948 (diff) | |
download | paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.gz paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.xz |
Move explicit instantiations to namespace paludis
Makes clang++ happy
Diffstat (limited to 'src')
-rw-r--r-- | src/clients/cave/command_factory.cc | 10 | ||||
-rw-r--r-- | src/clients/cave/search_extras_handle.cc | 6 |
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>; +} |