summaryrefslogtreecommitdiff
path: root/libs/evoral
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-20 10:30:10 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:14 -0400
commit0a433b2d07dac3618f435f3283b440d8a1cb4eb9 (patch)
treea57545bd1601fc2d7ffff35d54b99e46b95371a5 /libs/evoral
parentc4c7dc008664f6254fb1e27e989d257141344cbd (diff)
Revert "add operator bool() to Evoral::Beats"
This reverts commit f8b5263af5e4d5088f1d5551e999679515add432. OS X compiler gets confused by this change.
Diffstat (limited to 'libs/evoral')
-rw-r--r--libs/evoral/evoral/Beats.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/evoral/evoral/Beats.hpp b/libs/evoral/evoral/Beats.hpp
index c419c920f1..e0277c4b3d 100644
--- a/libs/evoral/evoral/Beats.hpp
+++ b/libs/evoral/evoral/Beats.hpp
@@ -191,8 +191,6 @@ public:
bool operator!() const { return _time == 0; }
- operator bool() const { return _time != 0; }
-
static Beats min() { return Beats(DBL_MIN); }
static Beats max() { return Beats(DBL_MAX); }
static Beats tick() { return Beats(1.0 / PPQN); }