From d5447f49de58b5ec8b97d09d10aa3a1ac8470ec8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 4 Oct 2013 11:31:21 +0100 Subject: [PATCH] boost::filesystem. --- src/sound_asset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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))); } -- 2.30.2