Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-10-21 04:13:21


Author: chris_kohlhoff
Date: 2007-10-21 04:13:21 EDT (Sun, 21 Oct 2007)
New Revision: 40263
URL: http://svn.boost.org/trac/boost/changeset/40263

Log:
Fix address_v6::operator<.

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

Modified: trunk/boost/asio/ip/address_v6.hpp
==============================================================================
--- trunk/boost/asio/ip/address_v6.hpp (original)
+++ trunk/boost/asio/ip/address_v6.hpp 2007-10-21 04:13:21 EDT (Sun, 21 Oct 2007)
@@ -301,7 +301,7 @@
   {
     using namespace std; // For memcmp.
     int memcmp_result = memcmp(&a1.addr_, &a2.addr_,
- sizeof(boost::asio::detail::in6_addr_type)) < 0;
+ sizeof(boost::asio::detail::in6_addr_type));
     if (memcmp_result < 0)
       return true;
     if (memcmp_result > 0)


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