We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72e5f8 commit fa03a14Copy full SHA for fa03a14
sigc++/functors/slot.h
@@ -55,7 +55,7 @@ struct typed_slot_rep : public slot_rep
55
* The notification callback is registered using visit_each().
56
* @param functor The functor contained by the new slot_rep object.
57
*/
58
- inline typed_slot_rep(const T_functor& functor)
+ inline explicit typed_slot_rep(const T_functor& functor)
59
: slot_rep(nullptr, &destroy, &dup), functor_(functor)
60
{
61
sigc::visit_each_trackable(slot_do_bind(this), functor_);
0 commit comments