summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-01-14 10:45:12 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-01-14 10:45:52 +0100
commit784c51656e736cdeee53dfc08d8e4c44e0330656 (patch)
treedc3915a0acf0e770745cb77e501dcb8993e92200
parent4471acbc39ceeaaeb41416362c58d8dc645d2886 (diff)
downloadsigc++-784c51656e736cdeee53dfc08d8e4c44e0330656.tar.gz
fix
-rw-r--r--sigc++/functors/macros/slot.h.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/sigc++/functors/macros/slot.h.m4 b/sigc++/functors/macros/slot.h.m4
index bce6cfc..b8fe21a 100644
--- a/sigc++/functors/macros/slot.h.m4
+++ b/sigc++/functors/macros/slot.h.m4
@@ -329,6 +329,9 @@ FOR(1, $1,[
{
typedef typed_slot_rep<T_functor> typed_slot;
typed_slot *typed_rep = static_cast<typed_slot*>(rep);dnl
+ //TODO_variadic: Avoid the specific call to the () overload when
+ //bind_functor::operator() is variadic. Then we can make this whole class
+ //variadic, and others that use it.
ifelse($1,0,[
return (typed_rep->functor_)();
],[