summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2019-10-27 17:16:02 +0100
committerMurray Cumming <murrayc@murrayc.com>2019-10-29 10:49:13 +0100
commitfcdc822dba6b0ba440bc47ac9928da3c2217dfa7 (patch)
treee40c03bbf395ba4810e31844d4d6bb202ede85ab
parente04825847c4b0a7de302f124de284d9d6c08a2ca (diff)
downloadsigc++-fcdc822dba6b0ba440bc47ac9928da3c2217dfa7.tar.gz
signal: slot_iterator_buf: Remove T_result default type
This expected a result_type type alias. Luckily, in the few places where we use this, we always specify the type, ignoring the default.
-rw-r--r--sigc++/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigc++/signal.h b/sigc++/signal.h
index 455223e..69ca4d0 100644
--- a/sigc++/signal.h
+++ b/sigc++/signal.h
@@ -41,7 +41,7 @@ namespace internal
* the slot. The return value is buffered, so that in an expression
* like @code a = (*i) * (*i); @endcode the slot is executed only once.
*/
-template<typename T_emitter, typename T_result = typename T_emitter::result_type>
+template<typename T_emitter, typename T_result>
struct slot_iterator_buf
{
using size_type = std::size_t;