Skip to content

Commit ea2c16e

Browse files
committed
scoped_connection.h: Add one more SIGC_API
1 parent cc77e80 commit ea2c16e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sigc++/scoped_connection.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ struct SIGC_API scoped_connection final
118118
scoped_connection& operator=(scoped_connection&& sc);
119119

120120
/// Swap two scoped connections.
121-
friend void swap(scoped_connection& sca, scoped_connection& scb) noexcept;
121+
friend SIGC_API void swap(scoped_connection& sca, scoped_connection& scb) noexcept;
122122

123123
/// scoped_connection disconnects the referred slot, if any, upon destruction.
124124
~scoped_connection();
@@ -168,6 +168,7 @@ struct SIGC_API scoped_connection final
168168
sigc::connection conn_;
169169
};
170170

171+
/// Swap two scoped connections.
171172
SIGC_API
172173
void swap(scoped_connection& sca, scoped_connection& scb) noexcept;
173174

0 commit comments

Comments
 (0)