summaryrefslogtreecommitdiff
path: root/sigc++/functors/ptr_fun.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigc++/functors/ptr_fun.h')
-rw-r--r--sigc++/functors/ptr_fun.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sigc++/functors/ptr_fun.h b/sigc++/functors/ptr_fun.h
index b80ccab..b188317 100644
--- a/sigc++/functors/ptr_fun.h
+++ b/sigc++/functors/ptr_fun.h
@@ -106,8 +106,7 @@ public:
* @ingroup ptr_fun
*/
template<typename T_return, typename... T_args>
-inline decltype(auto)
-ptr_fun(T_return (*func)(T_args...))
+inline decltype(auto) ptr_fun(T_return (*func)(T_args...))
{
return pointer_functor<T_return(T_args...)>(func);
}