X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypes.cc;h=e9b412ded06bf2709b03601fce9fda9e6bd23325;hb=f706bbb9afd10472e81a051cd5db601d6404377c;hp=b7632a9842a07afb6315b63ca64aef0699893f3d;hpb=15d98128799c2902a3fc046792d1456a275b756b;p=dcpomatic.git diff --git a/src/lib/types.cc b/src/lib/types.cc index b7632a984..e9b412ded 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -21,15 +21,15 @@ #include "types.h" #include "compose.hpp" #include "dcpomatic_assert.h" -#include "warnings.h" -#include #include #include -#include +#include #include -DCPOMATIC_DISABLE_WARNINGS +#include +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS #include #include "i18n.h" @@ -214,7 +214,7 @@ CPLSummary::CPLSummary (boost::filesystem::path p) encrypted = false; for (auto j: dcp.cpls()) { for (auto k: j->reel_file_assets()) { - if (k->key_id()) { + if (k->encrypted()) { encrypted = true; } }