We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8cd4cc commit eaa27e0Copy full SHA for eaa27e0
1 file changed
src/ClassSimZ80.cpp
@@ -416,7 +416,7 @@ inline void ClassSimZ80::recalcNet(net_t n)
416
net.state = newState;
417
418
if (net.state)
419
- for (Trans *t : net.gates)
+ for (Trans *&t : net.gates)
420
{
421
if (!t->on)
422
@@ -425,7 +425,7 @@ inline void ClassSimZ80::recalcNet(net_t n)
425
}
426
427
else
428
429
430
if (t->on)
431
0 commit comments