Merge pull request #947 from paulfd/group-opcodes-correction

Correct the int type in handleGroupOpcodes
This commit is contained in:
Paul Ferrand 2021-07-16 21:18:10 +02:00 committed by GitHub
commit efcb0da58a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -337,7 +337,7 @@ void Synth::Impl::handleGlobalOpcodes(const std::vector<Opcode>& members)
void Synth::Impl::handleGroupOpcodes(const std::vector<Opcode>& members, const std::vector<Opcode>& masterMembers)
{
absl::optional<unsigned> groupIdx;
absl::optional<int> groupIdx;
absl::optional<unsigned> maxPolyphony;
const auto parseOpcode = [&](const Opcode& rawMember) {