summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-02 11:12:43 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-02 11:12:43 +0100
commit22b5b3723c3388bf940844059208d836781863ab (patch)
tree31e282cba59e0444b1d893b94c6991f4c7ee558a /src
parentf3ffeaaeeca8c14a1145c7addfcd524b1a20af5e (diff)
fix it?
Diffstat (limited to 'src')
-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 e24aced2..c23fc2ff 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -68,7 +68,7 @@ SoundAsset::SoundAsset (boost::filesystem::path file)
: Asset (file)
{
ASDCP::PCM::MXFReader reader;
- auto r = reader.OpenRead (file.string().c_str());
+ auto r = reader.OpenRead(file.string());
if (ASDCP_FAILURE(r)) {
boost::throw_exception (MXFFileError("could not open MXF file for reading", file.string(), r));
}