aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.cc
diff options
context:
space:
mode:
authorAvatar Elias Pipping <pipping@exherbo.org> 2011-08-07 03:35:05 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-08-07 18:18:38 +0100
commit0d9560ed1d5bfcb57752a0f4e66c74eef64188f4 (patch)
tree5789db7a2e875e7249a29ba9fc16e9bd6851287b /paludis/repositories/fake/fake_package_id.cc
parentf4136ef1d6b8bcb2bf1ce5c0a418b29961dc7948 (diff)
downloadpaludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.gz
paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.xz
Move explicit instantiations to namespace paludis
Makes clang++ happy
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.cc')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 068fae732..06aa3269a 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -1191,14 +1191,16 @@ FakePackageID::behaviours_set()
return _imp->behaviours_set;
}
-template class FakeMetadataSpecTreeKey<LicenseSpecTree>;
-template class FakeMetadataSpecTreeKey<PlainTextSpecTree>;
+namespace paludis
+{
+ template class FakeMetadataSpecTreeKey<LicenseSpecTree>;
+ template class FakeMetadataSpecTreeKey<PlainTextSpecTree>;
#ifndef PALUDIS_NO_EXPLICIT_FULLY_SPECIALISED
-template class FakeMetadataSpecTreeKey<FetchableURISpecTree>;
-template class FakeMetadataSpecTreeKey<DependencySpecTree>;
-template class FakeMetadataSpecTreeKey<DependencySpecTree>;
+ template class FakeMetadataSpecTreeKey<FetchableURISpecTree>;
+ template class FakeMetadataSpecTreeKey<DependencySpecTree>;
+ template class FakeMetadataSpecTreeKey<DependencySpecTree>;
#endif
-template class FakeMetadataSpecTreeKey<SimpleURISpecTree>;
-
-template class FakeMetadataCollectionKey<KeywordNameSet>;
+ template class FakeMetadataSpecTreeKey<SimpleURISpecTree>;
+ template class FakeMetadataCollectionKey<KeywordNameSet>;
+}