remove Evoral types.cpp since it is no longer required
[ardour.git] / libs / evoral / evoral / Beats.hpp
index 99e0c007c5df79cfbca146a7bfa49fd7f017eeba..c85959260a54336001b9f7e1f9f156f7fb0669a0 100644 (file)
@@ -34,7 +34,7 @@ namespace Evoral {
 /** Musical time in beats. */
 class /*LIBEVORAL_API*/ Beats {
 public:
-       LIBEVORAL_API static const int32_t PPQN;
+       LIBEVORAL_API static const int32_t PPQN = 1920;
 
        Beats() : _beats(0), _ticks(0) {}
 
@@ -105,6 +105,7 @@ public:
 
                _beats = whole;
                _ticks = frac * PPQN;
+               return *this;
        }
 
        Beats& operator=(const Beats& other) {