summaryrefslogtreecommitdiff
path: root/sigc++/signal.h
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2022-04-27 18:10:48 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2022-04-27 18:10:48 +0200
commit4b829ece84c6dbaa4d89bf4fe6feebd4236b31d1 (patch)
treefc1f0ea5540cdfa584201507a1fcf3caf7be6ed6 /sigc++/signal.h
parentef8435a8c8694283bbf905b8e53a83bf2144b751 (diff)
downloadsigc++-4b829ece84c6dbaa4d89bf4fe6feebd4236b31d1.tar.gz
Fix some comments
Diffstat (limited to 'sigc++/signal.h')
-rw-r--r--sigc++/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigc++/signal.h b/sigc++/signal.h
index b8e0f26..8f7dadc 100644
--- a/sigc++/signal.h
+++ b/sigc++/signal.h
@@ -469,7 +469,7 @@ public:
*/
decltype(auto) make_slot() const
{
- // TODO: Instead use std::result_of<> on the static emitter_type::emit()
+ // TODO: Instead use std::invoke_result<> on the static emitter_type::emit()
using result_type =
typename internal::member_method_result<decltype(&signal_with_accumulator::emit)>::type;
return bound_mem_functor<result_type (signal_with_accumulator::*)(type_trait_take_t<T_arg>...)