summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp_time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dcp_time.h b/src/dcp_time.h
index 997b8d13..dcbadf31 100644
--- a/src/dcp_time.h
+++ b/src/dcp_time.h
@@ -142,6 +142,11 @@ public:
return *this;
}
+ Time& operator-= (Time const & o) {
+ *this = *this - o;
+ return *this;
+ }
+
private:
void set (double seconds, int tcr);
};