Cleanup: rename AssetMap::path -> file for consistency.
[libdcp.git] / src / asset_map.h
index 5238b96b9670e71f9d218a2c4dbe4e3bb52cf3b5..dcd0f961124836769e54919a0196f54c542c5265 100644 (file)
@@ -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;
 };