Skip to content

Commit 672f831

Browse files
committed
connection: Make notify() private.
1 parent 14e413a commit 672f831

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sigc++/connection.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ struct SIGC_API connection : public notifiable
9595
*/
9696
explicit operator bool() const noexcept;
9797

98+
private:
99+
void set_slot(slot_base* sl);
100+
98101
/** Callback that is executed when the referred slot is destroyed.
99102
* @param data The connection object notified (@p this).
100103
*/
101104
static void notify(notifiable* data);
102105

103-
private:
104-
void set_slot(slot_base* sl);
105-
106106
/* Referred slot. Set to zero from notify().
107107
* A value of zero indicates an "empty" connection.
108108
*/

0 commit comments

Comments
 (0)