projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "add operator bool() to Evoral::Beats"
[ardour.git]
/
libs
/
evoral
/
evoral
/
Beats.hpp
diff --git
a/libs/evoral/evoral/Beats.hpp
b/libs/evoral/evoral/Beats.hpp
index c419c920f1a3a252d394ca11d1c2ad90039400cb..e0277c4b3d999d4aa36487df2935c46d82ba352f 100644
(file)
--- 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); }