diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-04-21 17:45:17 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-04-21 17:50:00 +0200 |
commit | 672f831e08c501253566368c5d33185f1e822181 (patch) | |
tree | 7ed335f595cf861675de54e2458668948f045975 | |
parent | 14e413a47bab2ba8e4892f0ba9493c2f8e0265d8 (diff) | |
download | sigc++-672f831e08c501253566368c5d33185f1e822181.tar.gz |
connection: Make notify() private.
-rw-r--r-- | 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. */ |