From 0a433b2d07dac3618f435f3283b440d8a1cb4eb9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 20 May 2015 10:30:10 -0400 Subject: [PATCH] Revert "add operator bool() to Evoral::Beats" This reverts commit f8b5263af5e4d5088f1d5551e999679515add432. OS X compiler gets confused by this change. --- libs/evoral/evoral/Beats.hpp | 2 -- 1 file changed, 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); } -- 2.30.2