diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-04 11:20:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-04 11:20:48 +0100 |
| commit | 8a1887908c66d7d8f7107e5d2f26019548aa1fd3 (patch) | |
| tree | 6d72c2a45853fb05352e48191c460ada3c2ff746 /src | |
| parent | cb27a92a9c63f8782e8c3bfd4084cebcf58ababe (diff) | |
boost::filesystem.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sound_asset.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index ec82752c..88f9a0fb 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -123,7 +123,7 @@ SoundAsset::create (boost::function<boost::filesystem::path (Channel)> get_path) boost::filesystem::path const path = get_path (channels[i]); - if (ASDCP_FAILURE (pcm_parser_channel[i].OpenRead (path.c_str(), asdcp_edit_rate))) { + if (ASDCP_FAILURE (pcm_parser_channel[i].OpenRead (path.string().c_str(), asdcp_edit_rate))) { boost::throw_exception (FileError ("could not open WAV file for reading", path)); } |
