summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asset.cc b/src/asset.cc
index 51339071..0ad7b5b1 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -48,7 +48,7 @@ Asset::write_to_pkl (ostream& s) const
{
s << " <Asset>\n"
<< " <Id>urn:uuid:" << _uuid << "</Id>\n"
- << " <AnnotationText>" << filesystem::path(_mxf_path).filename() << "</AnnotationText>\n"
+ << " <AnnotationText>" << filesystem::path(_mxf_path).filename().string() << "</AnnotationText>\n"
<< " <Hash>" << _digest << "</Hash>\n"
<< " <Size>" << filesystem::file_size(_mxf_path) << "</Size>\n"
<< " <Type>application/mxf</Type>\n"
@@ -62,7 +62,7 @@ Asset::write_to_assetmap (ostream& s) const
<< " <Id>urn:uuid:" << _uuid << "</Id>\n"
<< " <ChunkList>\n"
<< " <Chunk>\n"
- << " <Path>" << filesystem::path(_mxf_path).filename() << "</Path>\n"
+ << " <Path>" << filesystem::path(_mxf_path).filename().string() << "</Path>\n"
<< " <VolumeIndex>1</VolumeIndex>\n"
<< " <Offset>0</Offset>\n"
<< " <Length>" << filesystem::file_size(_mxf_path) << "</Length>\n"