summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-19 23:20:34 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-19 23:20:34 +0100
commit472b7ac9d168685d0268b4941f9520e12d67dc23 (patch)
tree2d409eb27aa0fc8f01f76aa3003c89a8c7b0a04f /src/asset.cc
parent5070f4bc54786ec46cefc2943c62a550ff448ec7 (diff)
Fix bizarre quotation mark insertion by newer boost filesystem library.
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"