diff --git a/firmware/src/patch_play/cable_cache.hh b/firmware/src/patch_play/cable_cache.hh index 9a23507ef..d101753a4 100644 --- a/firmware/src/patch_play/cable_cache.hh +++ b/firmware/src/patch_play/cable_cache.hh @@ -52,7 +52,7 @@ struct CableCache { if (injack.module_id < ins.size() && outjack.module_id < outs.size()) { auto &out = outs[outjack.module_id]; auto out_idx = out.size(); - out.emplace_back(0.f, outjack.jack_id); + out.push_back({0.f, outjack.jack_id}); ins[injack.module_id].push_back({injack.jack_id, outjack.module_id, (uint16_t)out_idx}); } }