Comment.
[dcpomatic.git] / src / lib / types.cc
index 83bbf41e45c19125e779b4be18f6a48e9b2a5cd0..694c34cc0f2aeb04d0015389d8e78b9862827ba2 100644 (file)
 
 */
 
+#include "types.h"
+#include "dcpomatic_assert.h"
+#include "raw_convert.h"
 #include <libxml++/libxml++.h>
 #include <libcxml/cxml.h>
-#include <libdcp/raw_convert.h>
-#include "types.h"
 
 using std::max;
 using std::min;
 using std::string;
 using boost::shared_ptr;
-using libdcp::raw_convert;
 
 bool operator== (Crop const & a, Crop const & b)
 {
@@ -51,7 +51,7 @@ resolution_to_string (Resolution r)
                return "4K";
        }
 
-       assert (false);
+       DCPOMATIC_ASSERT (false);
        return "";
 }
 
@@ -67,7 +67,7 @@ string_to_resolution (string s)
                return RESOLUTION_4K;
        }
 
-       assert (false);
+       DCPOMATIC_ASSERT (false);
        return RESOLUTION_2K;
 }