diff options
Diffstat (limited to 'sigc++/functors/slot.h')
-rw-r--r-- | sigc++/functors/slot.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sigc++/functors/slot.h b/sigc++/functors/slot.h index 8e9e01a..e368e86 100644 --- a/sigc++/functors/slot.h +++ b/sigc++/functors/slot.h @@ -151,8 +151,9 @@ struct slot_call static T_return call_it(slot_rep* rep, type_trait_take_t<T_arg>... a_) { auto typed_rep = static_cast<typed_slot_rep<T_functor>*>(rep); - return (*typed_rep->functor_).template operator()<type_trait_take_t<T_arg>...>( - std::forward<type_trait_take_t<T_arg>>(a_)...); + return (*typed_rep->functor_) + .template operator()<type_trait_take_t<T_arg>...>( + std::forward<type_trait_take_t<T_arg>>(a_)...); } /** Forms a function pointer from call_it(). |