diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-01 21:27:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-07 22:46:32 +0100 |
| commit | cb574824a2e5d280b421e8c4e81fa90b85b877ae (patch) | |
| tree | 15e91a4e95d18ad506e6ef5f591633581170ecf0 /src/asset_map.h | |
| parent | 05e0890d4bb991fc321ac2e11993eba37d20e077 (diff) | |
Cleanup: rename AssetMap::path -> file for consistency.
Diffstat (limited to 'src/asset_map.h')
| -rw-r--r-- | src/asset_map.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/asset_map.h b/src/asset_map.h index 5238b96b..dcd0f961 100644 --- a/src/asset_map.h +++ b/src/asset_map.h @@ -54,8 +54,8 @@ public: explicit AssetMap(boost::filesystem::path path); - boost::optional<boost::filesystem::path> path() const { - return _path; + boost::optional<boost::filesystem::path> file() const { + return _file; } std::map<std::string, boost::filesystem::path> asset_ids_and_paths() const; @@ -99,7 +99,7 @@ public: private: std::vector<Asset> _assets; - mutable boost::optional<boost::filesystem::path> _path; + mutable boost::optional<boost::filesystem::path> _file; }; |
