summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index ac87c6e79..76b8eb666 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -138,7 +138,7 @@ Content::as_xml(xmlpp::Element* element, bool with_paths, PathBehaviour path_beh
auto path = _paths[i];
if (path_behaviour == PathBehaviour::MAKE_RELATIVE) {
DCPOMATIC_ASSERT(film_directory);
- path = boost::filesystem::relative(path, *film_directory);
+ path = relative_path(path, *film_directory);
}
auto p = cxml::add_child(element, "Path");
p->add_child_text(path.string());