summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-01 21:14:04 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-07 22:45:31 +0100
commit67dece222b733ab50b0d3965da55eea4789ea4f9 (patch)
treea6490aa28a823a0df00c9501901d5c82b2e27bba
parentf7dff91e6a4dffeace24280f5f5970d6cbd7a082 (diff)
Add AssetMap::assets().
-rw-r--r--src/asset_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/asset_map.h b/src/asset_map.h
index 733dadab..5238b96b 100644
--- a/src/asset_map.h
+++ b/src/asset_map.h
@@ -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;