summaryrefslogtreecommitdiff
path: root/libs/timecode/timecode/bbt_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/timecode/timecode/bbt_time.h')
-rw-r--r--libs/timecode/timecode/bbt_time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/timecode/timecode/bbt_time.h b/libs/timecode/timecode/bbt_time.h
index 50a67f3d79..b8be0774bd 100644
--- a/libs/timecode/timecode/bbt_time.h
+++ b/libs/timecode/timecode/bbt_time.h
@@ -68,6 +68,10 @@ struct BBT_Time {
bool operator== (const BBT_Time& other) const {
return bars == other.bars && beats == other.beats && ticks == other.ticks;
}
+
+ bool operator!= (const BBT_Time& other) const {
+ return bars != other.bars || beats != other.beats || ticks != other.ticks;
+ }
};
}