From: Paul Davis Date: Wed, 20 May 2015 14:30:10 +0000 (-0400) Subject: Revert "add operator bool() to Evoral::Beats" X-Git-Tag: 4.2~389 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=0a433b2d07dac3618f435f3283b440d8a1cb4eb9;p=ardour.git Revert "add operator bool() to Evoral::Beats" This reverts commit f8b5263af5e4d5088f1d5551e999679515add432. OS X compiler gets confused by this change. --- 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); }