aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decisions.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-14 19:07:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-14 19:07:21 +0100
commit3fec8404901a7b82928f4931a57af232417a1b99 (patch)
tree17278a171624651b1402abc90f4726b1df432881 /paludis/resolver/decisions.cc
parentb0448cfbd14b19ca660caa9cb3422de4004dac96 (diff)
downloadpaludis-3fec8404901a7b82928f4931a57af232417a1b99.tar.gz
paludis-3fec8404901a7b82928f4931a57af232417a1b99.tar.xz
Decisions<>::empty
Diffstat (limited to 'paludis/resolver/decisions.cc')
-rw-r--r--paludis/resolver/decisions.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/resolver/decisions.cc b/paludis/resolver/decisions.cc
index 1c11f6bba..790328290 100644
--- a/paludis/resolver/decisions.cc
+++ b/paludis/resolver/decisions.cc
@@ -91,6 +91,13 @@ Decisions<Decision_>::end() const
return ConstIterator(_imp->values.end());
}
+template <typename Decision_>
+bool
+Decisions<Decision_>::empty() const
+{
+ return _imp->values.empty();
+}
+
template class Decisions<UnableToMakeDecision>;
template class Decisions<ChangesToMakeDecision>;
template class Decisions<ChangeOrRemoveDecision>;