diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/timecode/timecode/bbt_time.h | 4 |
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; + } }; } |