gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 600efe48fc6de082a046e96be6b7b67847259b56
parent 515e8dd9d0734c545d1054573759afa23f5c68b4
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun, 29 Sep 2024 03:04:45 +0200

fix warning

Diffstat:
Msource/xtLib/xtState.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/xtLib/xtState.cpp b/source/xtLib/xtState.cpp @@ -807,9 +807,9 @@ namespace xt SysEx sysex{header}; sysex.reserve(sysex.size() + _table.size() * 4); - for(uint32_t i=0; i<_table.size(); ++i) + for (const auto& e : _table) { - const auto waveId = _table[i].rawId(); + const auto waveId = e.rawId(); sysex.push_back((waveId >> 12) & 0xf); sysex.push_back((waveId >> 8) & 0xf);