summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-04 11:31:21 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-04 11:31:21 +0100
commitd5447f49de58b5ec8b97d09d10aa3a1ac8470ec8 (patch)
tree2f18f9ab292675734620bc78ac9e2a5c68a7fe21
parent8a1887908c66d7d8f7107e5d2f26019548aa1fd3 (diff)
boost::filesystem.
-rw-r--r--src/sound_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 88f9a0fb..8f666ee6 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -91,7 +91,7 @@ SoundAsset::create (boost::function<boost::filesystem::path (Channel)> get_path)
assert (_channels > 0);
ASDCP::PCM::WAVParser pcm_parser_channel[_channels];
- if (pcm_parser_channel[0].OpenRead (get_path(LEFT).c_str(), asdcp_edit_rate)) {
+ if (pcm_parser_channel[0].OpenRead (get_path(LEFT).string().c_str(), asdcp_edit_rate)) {
boost::throw_exception (FileError ("could not open WAV file for reading", get_path(LEFT)));
}