Commit 33b91262 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix action_wrap bug for larger number of parameters

parent 88ab00bd
...@@ -587,7 +587,7 @@ struct action_wrap ...@@ -587,7 +587,7 @@ struct action_wrap
void operator()(const T1& a1, const T2& a2, const T3& a3, const T4& a4, void operator()(const T1& a1, const T2& a2, const T3& a3, const T4& a4,
const T5& a5) const const T5& a5) const
{ _a(wrap(a1,Wrap()), uncheck(a2, Wrap()), uncheck(a3, Wrap()), { _a(wrap(a1,Wrap()), uncheck(a2, Wrap()), uncheck(a3, Wrap()),
uncheck(a4, Wrap()), uncheck(a5), Wrap()); } uncheck(a4, Wrap()), uncheck(a5, Wrap())); }
Action _a; Action _a;
reference_wrapper<GraphInterface> _g; reference_wrapper<GraphInterface> _g;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment