From ef26e37fce728cba6fb50e9e6743a012b1bbbf64 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 19 Oct 2013 14:42:30 +0100 Subject: [PATCH] Some more boost::filesystem::path. --- src/asset.h | 4 ++-- src/sound_asset.cc | 2 +- src/sound_asset.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/asset.h b/src/asset.h index 34176d0d..dbe3deba 100644 --- a/src/asset.h +++ b/src/asset.h @@ -87,11 +87,11 @@ public: boost::filesystem::path path () const; - void set_directory (std::string d) { + void set_directory (boost::filesystem::path d) { _directory = d; } - void set_file_name (std::string f) { + void set_file_name (boost::filesystem::path f) { _file_name = f; } diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 8f666ee6..70ed0f29 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -42,7 +42,7 @@ using boost::shared_ptr; using boost::lexical_cast; using namespace libdcp; -SoundAsset::SoundAsset (boost::filesystem::path directory, string mxf_name) +SoundAsset::SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name) : MXFAsset (directory, mxf_name) , _channels (0) , _sampling_rate (0) diff --git a/src/sound_asset.h b/src/sound_asset.h index 67d3e445..43587a9a 100644 --- a/src/sound_asset.h +++ b/src/sound_asset.h @@ -68,7 +68,7 @@ private: class SoundAsset : public MXFAsset { public: - SoundAsset (boost::filesystem::path directory, std::string mxf_name); + SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name); void read (); void create (std::vector const & files); -- 2.30.2