Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-10-29 09:06:12


Author: chris_kohlhoff
Date: 2007-10-29 09:06:12 EDT (Mon, 29 Oct 2007)
New Revision: 40546
URL: http://svn.boost.org/trac/boost/changeset/40546

Log:
Mac OS X 10.5 (Leopard) gives a compile error if you try to perform an
operation on a const fd_set pointer.

Text files modified:
   trunk/boost/asio/detail/posix_fd_set_adapter.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/posix_fd_set_adapter.hpp
==============================================================================
--- trunk/boost/asio/detail/posix_fd_set_adapter.hpp (original)
+++ trunk/boost/asio/detail/posix_fd_set_adapter.hpp 2007-10-29 09:06:12 EDT (Mon, 29 Oct 2007)
@@ -59,7 +59,7 @@
   }
 
 private:
- fd_set fd_set_;
+ mutable fd_set fd_set_;
   socket_type max_descriptor_;
 };
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk