aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decisions.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-17 22:55:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-17 22:55:54 +0100
commit92f80490a9f0c31e17455621a1b86111c0007224 (patch)
tree17f75d49d57645508bbed5bfdf0d5d28a719572b /paludis/resolver/decisions.cc
parent06edded18b26bc8d604a0a3f18e71b303a31748a (diff)
downloadpaludis-92f80490a9f0c31e17455621a1b86111c0007224.tar.gz
paludis-92f80490a9f0c31e17455621a1b86111c0007224.tar.xz
remove some icky casts
Diffstat (limited to 'paludis/resolver/decisions.cc')
-rw-r--r--paludis/resolver/decisions.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/paludis/resolver/decisions.cc b/paludis/resolver/decisions.cc
index 5942b86..2dda588 100644
--- a/paludis/resolver/decisions.cc
+++ b/paludis/resolver/decisions.cc
@@ -137,17 +137,6 @@ Decisions<Decision_, Notes_>::push_back(
}
template <typename Decision_, typename Notes_>
-void
-Decisions<Decision_, Notes_>::cast_push_back(
- const std::tr1::shared_ptr<const Decision> & d,
- const Notes_ & n)
-{
- if (! simple_visitor_cast<const Decision_>(*d))
- throw InternalError(PALUDIS_HERE, "Wrong Decision type");
- push_back(std::tr1::static_pointer_cast<const Decision_>(d), n);
-}
-
-template <typename Decision_, typename Notes_>
typename Decisions<Decision_, Notes_>::ConstIterator
Decisions<Decision_, Notes_>::begin() const
{