summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-24 11:38:53 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-24 11:38:53 +0100
commitb8ab7864ea798d633c4dbfa6be69c58a227d9ca2 (patch)
tree6891668d2b7022c19045a746817c28e985e77a14 /src/lib/content.cc
parent3412af70b950dcdc604413ef05c26becda6da789 (diff)
Revert "Bump libdcp for new method."
This reverts commit 3412af70b950dcdc604413ef05c26becda6da789.
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index a27032e9c..9083635f2 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -135,14 +135,12 @@ Content::Content (shared_ptr<const Film> film, vector<shared_ptr<Content> > c)
}
void
-Content::as_xml (xmlpp::Node* node, bool with_paths) const
+Content::as_xml (xmlpp::Node* node) const
{
boost::mutex::scoped_lock lm (_mutex);
- if (with_paths) {
- for (vector<boost::filesystem::path>::const_iterator i = _paths.begin(); i != _paths.end(); ++i) {
- node->add_child("Path")->add_child_text (i->string ());
- }
+ for (vector<boost::filesystem::path>::const_iterator i = _paths.begin(); i != _paths.end(); ++i) {
+ node->add_child("Path")->add_child_text (i->string ());
}
node->add_child("Digest")->add_child_text (_digest);
node->add_child("Position")->add_child_text (raw_convert<string> (_position.get ()));