aboutsummaryrefslogtreecommitdiffstats
path: root/ponymix.cc
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-07-05 15:28:47 -0400
committerDave Reisner <dreisner@archlinux.org>2014-07-05 15:28:47 -0400
commit969290450571bfb44ada07892dee69c18f88afc3 (patch)
treeb1029d0f81ec6e3ad85d4cf8fd0ce1c47a25ec49 /ponymix.cc
parent18b650bbc8468dcb077ec95e2ca50c9e6bc5e599 (diff)
downloadmirror-ponymix-969290450571bfb44ada07892dee69c18f88afc3.tar.gz
mirror-ponymix-969290450571bfb44ada07892dee69c18f88afc3.tar.bz2
mirror-ponymix-969290450571bfb44ada07892dee69c18f88afc3.zip
remove runtime_error exceptions for impossible
these should be caught at compiletime, not runtime
Diffstat (limited to 'ponymix.cc')
-rw-r--r--ponymix.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/ponymix.cc b/ponymix.cc
index a620036..48a751e 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -83,9 +83,6 @@ static const char* type_to_string(enum DeviceType t) {
case DEVTYPE_SOURCE_OUTPUT:
return "source-output";
}
-
- /* impossibiru! */
- throw std::out_of_range("device type out of range");
}
static enum DeviceType string_to_devtype_or_die(const char* str) {