aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decisions.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/resolver/decisions.cc
parentf4136ef1d6b8bcb2bf1ce5c0a418b29961dc7948 (diff)
downloadpaludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.gz
paludis-0d9560ed1d5bfcb57752a0f4e66c74eef64188f4.tar.xz
Move explicit instantiations to namespace paludis
Makes clang++ happy
Diffstat (limited to 'paludis/resolver/decisions.cc')
-rw-r--r--paludis/resolver/decisions.cc42
1 files changed, 23 insertions, 19 deletions
diff --git a/paludis/resolver/decisions.cc b/paludis/resolver/decisions.cc
index f1098f1..77b5a61 100644
--- a/paludis/resolver/decisions.cc
+++ b/paludis/resolver/decisions.cc
@@ -176,22 +176,26 @@ Decisions<Decision_, Notes_>::deserialise(Deserialisation & d)
return result;
}
-template class Decisions<UnableToMakeDecision>;
-template class Decisions<ChangesToMakeDecision>;
-template class Decisions<ChangeOrRemoveDecision>;
-template class Decisions<ConfirmableDecision>;
-template class Decisions<ChangeOrRemoveDecision, std::shared_ptr<const OrdererNotes> >;
-
-template class WrappedForwardIterator<Decisions<UnableToMakeDecision>::ConstIteratorTag,
- const std::shared_ptr<const UnableToMakeDecision> >;
-template class WrappedForwardIterator<Decisions<ChangesToMakeDecision>::ConstIteratorTag,
- const std::shared_ptr<const ChangesToMakeDecision> >;
-template class WrappedForwardIterator<Decisions<ChangeOrRemoveDecision>::ConstIteratorTag,
- const std::shared_ptr<const ChangeOrRemoveDecision> >;
-template class WrappedForwardIterator<Decisions<ConfirmableDecision>::ConstIteratorTag,
- const std::shared_ptr<const ConfirmableDecision> >;
-template class WrappedForwardIterator<Decisions<ChangeOrRemoveDecision, std::shared_ptr<const OrdererNotes> >::ConstIteratorTag,
- const std::pair<
- std::shared_ptr<const ChangeOrRemoveDecision>,
- std::shared_ptr<const OrdererNotes> > >;
-
+namespace paludis
+{
+ namespace resolver {
+ template class Decisions<UnableToMakeDecision>;
+ template class Decisions<ChangesToMakeDecision>;
+ template class Decisions<ChangeOrRemoveDecision>;
+ template class Decisions<ConfirmableDecision>;
+ template class Decisions<ChangeOrRemoveDecision, std::shared_ptr<const OrdererNotes> >;
+ }
+
+ template class WrappedForwardIterator<Decisions<UnableToMakeDecision>::ConstIteratorTag,
+ const std::shared_ptr<const UnableToMakeDecision> >;
+ template class WrappedForwardIterator<Decisions<ChangesToMakeDecision>::ConstIteratorTag,
+ const std::shared_ptr<const ChangesToMakeDecision> >;
+ template class WrappedForwardIterator<Decisions<ChangeOrRemoveDecision>::ConstIteratorTag,
+ const std::shared_ptr<const ChangeOrRemoveDecision> >;
+ template class WrappedForwardIterator<Decisions<ConfirmableDecision>::ConstIteratorTag,
+ const std::shared_ptr<const ConfirmableDecision> >;
+ template class WrappedForwardIterator<Decisions<ChangeOrRemoveDecision, std::shared_ptr<const OrdererNotes> >::ConstIteratorTag,
+ const std::pair<
+ std::shared_ptr<const ChangeOrRemoveDecision>,
+ std::shared_ptr<const OrdererNotes> > >;
+}