[libsigcplusplus] slot_rep::notify(): Rearrange a comment.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] slot_rep::notify(): Rearrange a comment.
- Date: Fri, 15 Apr 2016 06:57:34 +0000 (UTC)
commit 9e1c3690f7d8b448ff4333d74279a921da385ff2
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 15 08:57:14 2016 +0200
slot_rep::notify(): Rearrange a comment.
sigc++/functors/slot_base.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/sigc++/functors/slot_base.cc b/sigc++/functors/slot_base.cc
index f57a337..78130e2 100644
--- a/sigc++/functors/slot_base.cc
+++ b/sigc++/functors/slot_base.cc
@@ -91,9 +91,10 @@ slot_rep::notify(notifiable* data)
if (!notifier.deleted_)
{
self_->remove_destroy_notify_callback(¬ifier);
- self_
- ->destroy(); // Detach the stored functor from the other referred trackables and destroy it.
+
+ // Detach the stored functor from the other referred trackables and destroy it.
// destroy() might lead to deletion of self_. Bug #564005.
+ self_->destroy();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]