summaryrefslogtreecommitdiff
path: root/src/font_node.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-14 00:20:06 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-14 00:20:06 +0100
commit8837fe70049bd5ed7ab583c06d6c9a620a01b351 (patch)
tree798e86e707bfecc147a54d999fe826f4bc5dd3a8 /src/font_node.cc
parent937e4352072486832372fc8ebdb83583be9b8a2a (diff)
Tighten up time parsing, and also allow the previously
unsupported Interop HH:MM:SS.sss format for times.
Diffstat (limited to 'src/font_node.cc')
-rw-r--r--src/font_node.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font_node.cc b/src/font_node.cc
index 77d58aaf..6dd6e58f 100644
--- a/src/font_node.cc
+++ b/src/font_node.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -45,7 +45,7 @@ using boost::shared_ptr;
using boost::optional;
using namespace dcp;
-FontNode::FontNode (cxml::ConstNodePtr node, int tcr, string font_id_attribute)
+FontNode::FontNode (cxml::ConstNodePtr node, optional<int> tcr, string font_id_attribute)
{
text = node->content ();