summaryrefslogtreecommitdiff
path: root/src/dcp_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp_time.h')
-rw-r--r--src/dcp_time.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dcp_time.h b/src/dcp_time.h
index 23f99b80..b3c0590a 100644
--- a/src/dcp_time.h
+++ b/src/dcp_time.h
@@ -33,7 +33,7 @@ namespace libdcp {
/** @class Time
* @brief A representation of time within a DCP.
*/
-
+
class Time
{
public:
@@ -58,9 +58,9 @@ public:
, e (e_)
, tcr (tcr_)
{}
-
+
Time (std::string time, int tcr_);
-
+
int h; ///< hours
int m; ///< minutes
int s; ///< seconds
@@ -81,7 +81,7 @@ extern bool operator< (Time const & a, Time const & b);
extern bool operator> (Time const & a, Time const & b);
extern bool operator>= (Time const & a, Time const & b);
extern std::ostream & operator<< (std::ostream & s, Time const & t);
-extern Time operator+ (Time a, Time b);
+extern Time operator+ (Time a, Time b);
extern Time operator- (Time a, Time b);
extern float operator/ (Time a, Time const & b);