Rename crypt_chain -> signer_chain.
[libdcp.git] / src / dcp_time.cc
index c5a7affdd167af48320118dfba50eb5e52384c7d..7d3111d270fbef814e05a7a398f8eadd9978023e 100644 (file)
@@ -64,7 +64,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]);
@@ -222,6 +222,7 @@ libdcp::operator/ (Time a, Time const & b)
        return float (at) / bt;
 }
 
+/** @return A string of the form h:m:s:t */
 string
 Time::to_string () const
 {
@@ -230,6 +231,7 @@ Time::to_string () const
        return str.str ();
 }
 
+/** @return This time in ticks */
 int64_t
 Time::to_ticks () const
 {