|
Boost : |
From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2002-05-27 12:43:37
When compiling files that include connection.hpp I get this warning:
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/signals/src -I../../../../src -I../../../../../boost -isystem /usr/X11R6/include -g -O -ffast-math -W -Wall -Winline -c ../../../../../boost/libs/signals/src/trackable.cpp -MT trackable.lo -MD -MP -MF .deps/trackable.TPlo
In file included from ../../../../../boost/boost/signals/trackable.hpp:20,
from ../../../../../boost/libs/signals/src/trackable.cpp:16:
../../../../../boost/boost/signals/connection.hpp:175: warning: `void
boost::signals::connection::swap(boost::signals::connection&)' was used
before it was declared inline
../../../../../boost/boost/signals/connection.hpp:82: warning: previous
non-inline declaration here
I guess an "inline" should be added to the swap declaration in line 82.
Or the order of operator= and swap should be changed.
-- Lgb
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk