Skip to content

Commit 1cd5f2b

Browse files
committed
temp_slot_list: Make constructor explicit.
1 parent fa03a14 commit 1cd5f2b

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
@@ -205,7 +205,7 @@ struct temp_slot_list
205205
using iterator = signal_impl::iterator_type;
206206
using const_iterator = signal_impl::const_iterator_type;
207207

208-
temp_slot_list(slot_list& slots) : slots_(slots)
208+
explicit temp_slot_list(slot_list& slots) : slots_(slots)
209209
{
210210
placeholder = slots_.insert(slots_.end(), slot_base());
211211
}

0 commit comments

Comments
 (0)