[libsigcplusplus] connection: Make notify() private.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] connection: Make notify() private.
- Date: Thu, 21 Apr 2016 18:06:42 +0000 (UTC)
commit 672f831e08c501253566368c5d33185f1e822181
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 21 17:45:17 2016 +0200
connection: Make notify() private.
sigc++/connection.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sigc++/connection.h b/sigc++/connection.h
index 54b462a..a753b21 100644
--- a/sigc++/connection.h
+++ b/sigc++/connection.h
@@ -95,14 +95,14 @@ struct SIGC_API connection : public notifiable
*/
explicit operator bool() const noexcept;
+private:
+ void set_slot(slot_base* sl);
+
/** Callback that is executed when the referred slot is destroyed.
* @param data The connection object notified (@p this).
*/
static void notify(notifiable* data);
-private:
- void set_slot(slot_base* sl);
-
/* Referred slot. Set to zero from notify().
* A value of zero indicates an "empty" connection.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]