projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9de3c5
)
add operator!= for BBT_Time
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 7 Jan 2012 17:11:17 +0000
(17:11 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 7 Jan 2012 17:11:17 +0000
(17:11 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11188
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/timecode/timecode/bbt_time.h
patch
|
blob
|
history
diff --git
a/libs/timecode/timecode/bbt_time.h
b/libs/timecode/timecode/bbt_time.h
index 50a67f3d79dd2ac13b1e5896a8910d6051fb7d86..b8be0774bdd436b708662bc7113e343b1bb7b57b 100644
(file)
--- 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;
+ }
};
}