Boost logo

Boost :

From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2002-08-20 11:47:37


This avoids a compiler warning about "swap used before declared
inline" warning from GCC:

Index: signals/connection.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/signals/connection.hpp,v
retrieving revision 1.3
diff -u -p -r1.3 connection.hpp
--- signals/connection.hpp 7 Aug 2002 13:55:15 -0000 1.3
+++ signals/connection.hpp 20 Aug 2002 16:41:29 -0000
@@ -79,7 +79,7 @@ namespace boost {
       connection& operator=(const connection& other) ;

       // Swap connections
- void swap(connection& other);
+ inline void swap(connection& other);

     public: // TBD: CHANGE THIS
       // Set whether this connection object is controlling or not

-- 
	Lgb

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk