From 4dbc6ef917aeceb906b1ef1caf6911033e7e2c54 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Dec 2014 23:37:57 +0000 Subject: Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert()s with thrown exceptions. --- src/lib/content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/content.cc') diff --git a/src/lib/content.cc b/src/lib/content.cc index ba83e2627..a8d058cc1 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -270,7 +270,7 @@ Content::path_summary () const { /* XXX: should handle multiple paths more gracefully */ - assert (number_of_paths ()); + DCPOMATIC_ASSERT (number_of_paths ()); string s = path(0).filename().string (); if (number_of_paths() > 1) { -- cgit v1.2.3