aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-18 16:26:16 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-18 16:26:16 +0100
commit855b80f6da109ffb005c28b5050787b34ed84301 (patch)
treeaadc13082f6a3edf47c86aa2ff76a4d6a37503c1
parenta194398c8457fda2370ea0856b04ca9ec813af4b (diff)
downloadpaludis-855b80f6da109ffb005c28b5050787b34ed84301.tar.gz
paludis-855b80f6da109ffb005c28b5050787b34ed84301.tar.xz
Make use of more specific visitors
-rw-r--r--src/clients/cave/cmd_display_resolution.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 6292842..f7ef2b5 100644
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -1219,21 +1219,6 @@ namespace
more_annotations,
untaken);
}
-
- void visit(const NothingNoChangeDecision &) PALUDIS_ATTRIBUTE((noreturn))
- {
- throw InternalError(PALUDIS_HERE, "not allowed");
- }
-
- void visit(const ExistingNoChangeDecision &) PALUDIS_ATTRIBUTE((noreturn))
- {
- throw InternalError(PALUDIS_HERE, "not allowed");
- }
-
- void visit(const UnableToMakeDecision &) PALUDIS_ATTRIBUTE((noreturn))
- {
- throw InternalError(PALUDIS_HERE, "not allowed");
- }
};
template <typename Decisions_>