Add AssetMap::assets().
authorCarl Hetherington <cth@carlh.net>
Sun, 1 Jan 2023 20:14:04 +0000 (21:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 7 Jan 2023 21:45:31 +0000 (22:45 +0100)
src/asset_map.h

index 733dadab2de83b176ebedbe0d2dea66969ba8b75..5238b96b9670e71f9d218a2c4dbe4e3bb52cf3b5 100644 (file)
@@ -93,6 +93,10 @@ public:
                bool _pkl = false;
        };
 
+       std::vector<Asset> assets() const {
+               return _assets;
+       }
+
 private:
        std::vector<Asset> _assets;
        mutable boost::optional<boost::filesystem::path> _path;