Cleanup: const correctness.
authorCarl Hetherington <cth@carlh.net>
Sat, 31 Dec 2022 20:59:03 +0000 (21:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 7 Jan 2023 21:39:46 +0000 (22:39 +0100)
src/verify.cc

index 5a999faf2fa78b04d68c34c9ea4519347f83c18c..eb44fc25fd10ad6363052f21f2117936e34b3757 100644 (file)
@@ -1232,7 +1232,7 @@ verify_extension_metadata(shared_ptr<const CPL> cpl, vector<VerificationNote>& n
 
 
 bool
-pkl_has_encrypted_assets (shared_ptr<DCP> dcp, shared_ptr<PKL> pkl)
+pkl_has_encrypted_assets(shared_ptr<const DCP> dcp, shared_ptr<const PKL> pkl)
 {
        vector<string> encrypted;
        for (auto i: dcp->cpls()) {