scoped_connection.h: Add one more SIGC_API
authorKjell Ahlstedt <[email protected]>
Sun, 23 Jul 2023 17:00:07 +0000 (23 19:00 +0200)
committerKjell Ahlstedt <[email protected]>
Sun, 23 Jul 2023 17:00:07 +0000 (23 19:00 +0200)
sigc++/scoped_connection.h

index c6401f1..298a9c2 100644 (file)
@@ -118,7 +118,7 @@ struct SIGC_API scoped_connection final
   scoped_connection& operator=(scoped_connection&& sc);
 
   /// Swap two scoped connections.
-  friend void swap(scoped_connection& sca, scoped_connection& scb) noexcept;
+  friend SIGC_API void swap(scoped_connection& sca, scoped_connection& scb) noexcept;
 
   /// scoped_connection disconnects the referred slot, if any, upon destruction.
   ~scoped_connection();
@@ -168,6 +168,7 @@ private:
   sigc::connection conn_;
 };
 
+/// Swap two scoped connections.
 SIGC_API
 void swap(scoped_connection& sca, scoped_connection& scb) noexcept;