summaryrefslogtreecommitdiff
path: root/src/dcp_time.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-13 16:47:19 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-13 16:47:19 +0000
commitda0878773b192f52694fe5719fe08bc4fe271c63 (patch)
tree9b8b63d07a91a2cfceb89d46b26afcc2b635c339 /src/dcp_time.cc
parent45625f3116a09d3c8415a54bf8d19fdbb3a3aa9b (diff)
parent7d431bf964b377f1402174f8c2d1ac8731f0ed9f (diff)
Merge branch 'master' of /home/carl/git/libdcp
Diffstat (limited to 'src/dcp_time.cc')
-rw-r--r--src/dcp_time.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc
index 15ad05d4..bdf55f93 100644
--- a/src/dcp_time.cc
+++ b/src/dcp_time.cc
@@ -59,7 +59,7 @@ Time::Time (string time)
vector<string> b;
split (b, time, is_any_of (":"));
if (b.size() != 4) {
- throw DCPReadError ("unrecognised time specification");
+ boost::throw_exception (DCPReadError ("unrecognised time specification"));
}
h = lexical_cast<int> (b[0]);