13
0

allow construction of Beats with a beat count that exceeds INT32_MAX

This commit is contained in:
Paul Davis 2022-06-21 14:41:46 -06:00
parent d6d9792dcb
commit 1be136adbd

View File

@ -80,8 +80,8 @@ public:
}
/** Create from an integer number of beats. */
static Beats beats(int32_t beats) {
return Beats(beats, 0);
static Beats beats(int64_t beats) {
return Beats (beats, 0);
}
/** Create from ticks at the standard PPQN. */