13
0

Revert "add operator bool() to Evoral::Beats"

This reverts commit f8b5263af5e4d5088f1d5551e999679515add432.

OS X compiler gets confused by this change.
This commit is contained in:
Paul Davis 2015-05-20 10:30:10 -04:00
parent c4c7dc0086
commit 0a433b2d07

View File

@ -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); }