diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-28 01:15:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-28 01:15:24 +0000 |
| commit | ea81a192a65a03b664dac61de21e06cea7aa97a2 (patch) | |
| tree | f21447aeb9f24320ea6c1c4cb7a05539646bb85a /src/util.cc | |
| parent | 75788462338b1b4f464d075465da3cb372c40004 (diff) | |
Purge assert() from src/, at least (not asdcplib).
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. |
