Skip to content

Commit

Permalink
[core] Fix bug in effect_container for arg-based effect processors
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Oct 31, 2024
1 parent 5d7dd42 commit eb5c9d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/avnd/wrappers/effect_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,7 @@ struct effect_container<T>
decltype(T::outputs)& outputs;
};

ref full_state(int i)
{
return {effect[i].effect, effect[i].inputs, effect[i].outputs};
}
ref full_state(int i) { return {effect[i], effect[i].inputs, effect[i].outputs}; }

full_state_iterator<effect_container> full_state()
{
Expand Down

0 comments on commit eb5c9d6

Please sign in to comment.