Cleanup: const.
authorCarl Hetherington <cth@carlh.net>
Sun, 25 Jun 2023 23:18:06 +0000 (01:18 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 26 Jun 2023 22:06:51 +0000 (00:06 +0200)
src/dcp.cc

index 2c327b745f4486c9330c37f361e5379fb1f10f0d..a8a9fd66d35ebcc69daea58d6603de0a8a955d84 100644 (file)
@@ -175,7 +175,7 @@ DCP::read (vector<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_m
 
        auto ids_and_paths = _asset_map->asset_ids_and_paths();
        for (auto i: ids_and_paths) {
-               auto path = i.second;
+               auto const path = i.second;
 
                if (path == _directory) {
                        /* I can't see how this is valid, but it's