summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-04 20:37:36 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-04 20:37:36 +0000
commit844b7d0f684eaf01a8d553f935027f496a09c3ad (patch)
tree07d2702396f5ab504031cbc885f46b002e9324d3 /libs/ardour
parenta52c992de5319a53a0cf828f108b5a8c336a6b43 (diff)
Reformat.
git-svn-id: svn://localhost/ardour2/branches/3.0@7967 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/ardour/bbt_time.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/libs/ardour/ardour/bbt_time.h b/libs/ardour/ardour/bbt_time.h
index b92bd2f18f..76e91d5752 100644
--- a/libs/ardour/ardour/bbt_time.h
+++ b/libs/ardour/ardour/bbt_time.h
@@ -26,30 +26,30 @@
namespace ARDOUR {
struct BBT_Time {
- uint32_t bars;
- uint32_t beats;
- uint32_t ticks;
-
- BBT_Time() {
- bars = 1;
- beats = 1;
- ticks = 0;
- }
-
- BBT_Time (uint32_t ba, uint32_t be, uint32_t t)
- : bars (ba), beats (be), ticks (t) {}
-
- bool operator< (const BBT_Time& other) const {
- return bars < other.bars ||
- (bars == other.bars && beats < other.beats) ||
- (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;
- }
+ uint32_t bars;
+ uint32_t beats;
+ uint32_t ticks;
+
+ BBT_Time() {
+ bars = 1;
+ beats = 1;
+ ticks = 0;
+ }
+
+ BBT_Time (uint32_t ba, uint32_t be, uint32_t t)
+ : bars (ba), beats (be), ticks (t) {}
+
+ bool operator< (const BBT_Time& other) const {
+ return bars < other.bars ||
+ (bars == other.bars && beats < other.beats) ||
+ (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;
+ }
};
-
+
}
inline std::ostream&