[libsigcplusplus] typed_slot_rep: Make constructor explicit.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] typed_slot_rep: Make constructor explicit.
- Date: Fri, 22 Apr 2016 08:05:54 +0000 (UTC)
commit fa03a1440db961936092673684b0dec1442ce283
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 21 23:28:44 2016 +0200
typed_slot_rep: Make constructor explicit.
sigc++/functors/slot.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sigc++/functors/slot.h b/sigc++/functors/slot.h
index 19168d9..98934fe 100644
--- a/sigc++/functors/slot.h
+++ b/sigc++/functors/slot.h
@@ -55,7 +55,7 @@ public:
* The notification callback is registered using visit_each().
* @param functor The functor contained by the new slot_rep object.
*/
- inline typed_slot_rep(const T_functor& functor)
+ inline explicit typed_slot_rep(const T_functor& functor)
: slot_rep(nullptr, &destroy, &dup), functor_(functor)
{
sigc::visit_each_trackable(slot_do_bind(this), functor_);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]