Skip to content

Commit fcdc822

Browse files
committed
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.
1 parent e048258 commit fcdc822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigc++/signal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace internal
4141
* the slot. The return value is buffered, so that in an expression
4242
* like @code a = (*i) * (*i); @endcode the slot is executed only once.
4343
*/
44-
template<typename T_emitter, typename T_result = typename T_emitter::result_type>
44+
template<typename T_emitter, typename T_result>
4545
struct slot_iterator_buf
4646
{
4747
using size_type = std::size_t;

0 commit comments

Comments
 (0)