File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ struct visitor<slot<T_return, T_arg...>>
267
267
const slot<T_return, T_arg...>& target)
268
268
{
269
269
if (target.rep_ && target.rep_ ->parent_ == nullptr )
270
- target.rep_ ->set_parent (action.action_ .rep_ , &internal::slot_rep::notify );
270
+ target.rep_ ->set_parent (action.action_ .rep_ , &internal::slot_rep::notify_slot_rep_invalidated );
271
271
}
272
272
273
273
static void do_visit_each (
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ slot_rep::disconnect()
77
77
78
78
// static
79
79
void
80
- slot_rep::notify (notifiable* data)
80
+ slot_rep::notify_slot_rep_invalidated (notifiable* data)
81
81
{
82
82
auto self_ = static_cast <slot_rep*>(data);
83
83
Original file line number Diff line number Diff line change @@ -131,8 +131,9 @@ struct SIGC_API slot_rep : public trackable
131
131
* referred object dying.
132
132
* @param data The slot_rep object that is becoming invalid (@p this).
133
133
*/
134
- static void notify (notifiable* data);
134
+ static void notify_slot_rep_invalidated (notifiable* data);
135
135
136
+ public:
136
137
// / Callback that invokes the contained functor.
137
138
/* This can't be a virtual function since number of arguments
138
139
* must be flexible. We use function pointers to slot_call::call_it()
@@ -179,7 +180,7 @@ struct SIGC_API slot_do_bind
179
180
*/
180
181
inline void operator ()(const trackable& t) const
181
182
{
182
- t.add_destroy_notify_callback (rep_, &slot_rep::notify );
183
+ t.add_destroy_notify_callback (rep_, &slot_rep::notify_slot_rep_invalidated );
183
184
}
184
185
};
185
186
You can’t perform that action at this time.
0 commit comments