summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cc b/src/util.cc
index 3d90ccaa..ac97af6e 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -214,7 +214,7 @@ dcp::content_kind_from_string (string kind)
return ADVERTISEMENT;
}
- DCP_ASSERT (false);
+ throw BadContentKindError (kind);
}
/** @param s A string.