Make fraction conversion explicit in load_memon_1_0_0_beat

This commit is contained in:
Stepland 2022-12-27 13:28:16 +01:00
parent b079dd5164
commit 5f4ba2bfd6

View File

@ -38,7 +38,7 @@ Fraction load_memon_1_0_0_beat(const nlohmann::json& json, std::uint64_t resolut
};
} else if (json.is_array()) {
return (
json[0].get<std::uint64_t>()
Fraction{json[0].get<std::uint64_t>()}
+ Fraction{
json[1].get<std::uint64_t>(),
json[2].get<std::uint64_t>()