aboutsummaryrefslogtreecommitdiff
path: root/paludis/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/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/package_id.cc')
-rw-r--r--paludis/package_id.cc36
1 files changed, 19 insertions, 17 deletions
diff --git a/paludis/package_id.cc b/paludis/package_id.cc
index 82663e2e1..8053d61aa 100644
--- a/paludis/package_id.cc
+++ b/paludis/package_id.cc
@@ -236,20 +236,22 @@ PackageID::can_drop_in_memory_cache() const
{
}
-template class Sequence<std::shared_ptr<const PackageID> >;
-template class WrappedForwardIterator<Sequence<std::shared_ptr<const PackageID> >::ConstIteratorTag,
- const std::shared_ptr<const PackageID> >;
-template class WrappedForwardIterator<Sequence<std::shared_ptr<const PackageID> >::ReverseConstIteratorTag,
- const std::shared_ptr<const PackageID> >;
-template class WrappedOutputIterator<Sequence<std::shared_ptr<const PackageID> >::InserterTag,
- std::shared_ptr<const PackageID> >;
-
-template class Set<std::shared_ptr<const PackageID>, PackageIDSetComparator>;
-template class WrappedForwardIterator<Set<std::shared_ptr<const PackageID>, PackageIDSetComparator>::ConstIteratorTag,
- const std::shared_ptr<const PackageID> >;
-template class WrappedOutputIterator<Set<std::shared_ptr<const PackageID>, PackageIDSetComparator>::InserterTag,
- std::shared_ptr<const PackageID> >;
-
-template class WrappedForwardIterator<PackageID::MasksConstIteratorTag, const std::shared_ptr<const Mask> >;
-template class WrappedForwardIterator<PackageID::OverriddenMasksConstIteratorTag, const std::shared_ptr<const OverriddenMask> >;
-
+namespace paludis
+{
+ template class Sequence<std::shared_ptr<const PackageID> >;
+ template class WrappedForwardIterator<Sequence<std::shared_ptr<const PackageID> >::ConstIteratorTag,
+ const std::shared_ptr<const PackageID> >;
+ template class WrappedForwardIterator<Sequence<std::shared_ptr<const PackageID> >::ReverseConstIteratorTag,
+ const std::shared_ptr<const PackageID> >;
+ template class WrappedOutputIterator<Sequence<std::shared_ptr<const PackageID> >::InserterTag,
+ std::shared_ptr<const PackageID> >;
+
+ template class Set<std::shared_ptr<const PackageID>, PackageIDSetComparator>;
+ template class WrappedForwardIterator<Set<std::shared_ptr<const PackageID>, PackageIDSetComparator>::ConstIteratorTag,
+ const std::shared_ptr<const PackageID> >;
+ template class WrappedOutputIterator<Set<std::shared_ptr<const PackageID>, PackageIDSetComparator>::InserterTag,
+ std::shared_ptr<const PackageID> >;
+
+ template class WrappedForwardIterator<PackageID::MasksConstIteratorTag, const std::shared_ptr<const Mask> >;
+ template class WrappedForwardIterator<PackageID::OverriddenMasksConstIteratorTag, const std::shared_ptr<const OverriddenMask> >;
+}