X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp.cc;h=d99c32bf3b8fc928504e3d0d8d78c00a6c6a5155;hb=3339d3bce70afe9ae2ca10e9fcfc4b54b748fbf4;hp=06e3e15d5525408e9dbd62b3ca2d090fcd3c84af;hpb=28111007e2e6fd62f5810be780706ae1618bd33f;p=dcpomatic.git diff --git a/src/lib/dcp.cc b/src/lib/dcp.cc index 06e3e15d5..d99c32bf3 100644 --- a/src/lib/dcp.cc +++ b/src/lib/dcp.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2018 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,19 +18,20 @@ */ -#include "dcp.h" -#include "config.h" -#include "film.h" -#include "log.h" -#include "dcpomatic_log.h" + #include "compose.hpp" +#include "dcp.h" #include "dcp_content.h" +#include "dcpomatic_log.h" +#include "log.h" +#include "util.h" #include #include #include #include "i18n.h" + using std::list; using std::string; using std::shared_ptr; @@ -40,7 +41,7 @@ using std::vector; /** Find all the CPLs in our directories, cross-add assets and return the CPLs */ -list > +list> DCP::cpls () const { list> dcps; @@ -77,7 +78,7 @@ DCP::cpls () const } if (_dcp_content->kdm ()) { - dcp::DecryptedKDM k = decrypt_kdm_with_helpful_error (_dcp_content->kdm().get()); + auto k = decrypt_kdm_with_helpful_error (_dcp_content->kdm().get()); for (auto i: dcps) { i->add (k); }