diff options
Diffstat (limited to 'src/lib/dcpomatic_time.h')
| -rw-r--r-- | src/lib/dcpomatic_time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index c13f2bbfe..da903cf09 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -275,6 +275,10 @@ public: bool operator== (TimePeriod<T> const & other) const { return from == other.from && to == other.to; } + + bool operator!= (TimePeriod<T> const & other) const { + return !(*this == other); + } }; typedef TimePeriod<ContentTime> ContentTimePeriod; |
