fix it?
[libdcp.git] / src / sound_asset.cc
index e24aced20a27252efb8caabd74d036be53b13ef4..c23fc2ff105f27f580cf33b032cab7ee01280b7c 100644 (file)
@@ -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));
        }