summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-21 20:45:00 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-21 20:45:00 +0000
commit102c567af0eaa478f062971ae8dd5f6891e1457d (patch)
tree09d67f733ffe8c61d29ab5afe7c22750d2402284 /src/sound_asset.cc
parenta2c5f0ee3dca60fa3c593a55f9bf7f42f3aa88d4 (diff)
Fix compile with old boost.
Diffstat (limited to 'src/sound_asset.cc')
-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 2ed18312..c6b6ac93 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -344,7 +344,7 @@ SoundAssetWriter::SoundAssetWriter (SoundAsset* a)
MXFAsset::fill_writer_info (&_writer_info, _asset->uuid ());
- if (ASDCP_FAILURE (_mxf_writer.OpenWrite (_asset->path().c_str(), _writer_info, _audio_desc))) {
+ if (ASDCP_FAILURE (_mxf_writer.OpenWrite (_asset->path().string().c_str(), _writer_info, _audio_desc))) {
throw FileError ("could not open audio MXF for writing", _asset->path().string());
}
}