diff options
Diffstat (limited to 'src/util.cc')
| -rw-r--r-- | src/util.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc index 58eacbfb..ac067a76 100644 --- a/src/util.cc +++ b/src/util.cc @@ -27,6 +27,7 @@ #include "argb_frame.h" #include "certificates.h" #include "xyz_frame.h" +#include "dcp_assert.h" #include "compose.hpp" #include "KM_util.h" #include "KM_fileio.h" @@ -154,7 +155,7 @@ dcp::content_kind_to_string (ContentKind kind) return "advertisement"; } - assert (false); + DCP_ASSERT (false); } /** Convert a string from a <ContentKind> node to a libdcp ContentKind. @@ -189,7 +190,7 @@ dcp::content_kind_from_string (string kind) return ADVERTISEMENT; } - assert (false); + DCP_ASSERT (false); } /** Decompress a JPEG2000 image to a bitmap. |
