X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fcpl.cc;h=b0fc8d77bd8ef3a7f0bebf8a7221caf14928b55b;hb=391860586976a6b6309caa56cc1191e1ca9efd06;hp=3599231daad1420b1acb201568667f6237514623;hpb=595d4fbfee788edfad7f9f8dfe7e76ee634c1a94;p=libdcp.git diff --git a/src/cpl.cc b/src/cpl.cc index 3599231d..b0fc8d77 100644 --- a/src/cpl.cc +++ b/src/cpl.cc @@ -17,23 +17,18 @@ */ -#include "raw_convert.h" #include "cpl.h" #include "util.h" -#include "mono_picture_mxf.h" -#include "stereo_picture_mxf.h" -#include "sound_mxf.h" -#include "subtitle_content.h" #include "reel.h" #include "metadata.h" #include "signer.h" -#include "exceptions.h" #include "xml.h" -#include "compose.hpp" #include "reel_picture_asset.h" #include "reel_sound_asset.h" #include "reel_subtitle_asset.h" #include "local_time.h" +#include "dcp_assert.h" +#include "compose.hpp" #include using std::string; @@ -176,7 +171,7 @@ CPL::reel_assets () const } bool -CPL::equals (shared_ptr other, EqualityOptions opt, boost::function note) const +CPL::equals (shared_ptr other, EqualityOptions opt, NoteHandler note) const { shared_ptr other_cpl = dynamic_pointer_cast (other); if (!other_cpl) { @@ -256,7 +251,7 @@ CPL::pkl_type (Standard standard) const case SMPTE: return "text/xml"; default: - assert (false); + DCP_ASSERT (false); } }