Update of /cvsroot/boost/boost/boost/asio
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21211/boost/asio

Modified Files:
        buffered_read_stream.hpp buffered_write_stream.hpp error.hpp 
Log Message:
Remove the error::success constant since with the new error_code stuff
there is no unique value for success.


Index: buffered_read_stream.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/buffered_read_stream.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- buffered_read_stream.hpp    8 Nov 2006 05:32:12 -0000       1.2
+++ buffered_read_stream.hpp    17 Nov 2006 11:28:18 -0000      1.3
@@ -300,7 +300,7 @@
     {
       std::size_t length = copy(buffers);
       io_service().post(detail::bind_handler(
-            handler, boost::asio::error::success, length));
+            handler, boost::system::error_code(), length));
     }
   }
 

Index: buffered_write_stream.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/buffered_write_stream.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- buffered_write_stream.hpp   8 Nov 2006 05:32:12 -0000       1.2
+++ buffered_write_stream.hpp   17 Nov 2006 11:28:18 -0000      1.3
@@ -260,7 +260,7 @@
     {
       std::size_t bytes_copied = copy(buffers);
       io_service().post(detail::bind_handler(
-            handler, boost::asio::error::success, bytes_copied));
+            handler, boost::system::error_code(), bytes_copied));
     }
   }
 

Index: error.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/error.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- error.hpp   14 Nov 2006 10:49:09 -0000      1.6
+++ error.hpp   17 Nov 2006 11:28:18 -0000      1.7
@@ -200,9 +200,6 @@
   /// Cannot send after transport endpoint shutdown.
   static const boost::system::error_code shut_down;
 
-  /// Success.
-  static const boost::system::error_code success;
-
   /// Connection timed out.
   static const boost::system::error_code timed_out;
 
@@ -463,9 +460,6 @@
 error_base<T>::shut_down = BOOST_ASIO_SOCKET_ERROR(ESHUTDOWN);
 
 template <typename T> const boost::system::error_code
-error_base<T>::success;
-
-template <typename T> const boost::system::error_code
 error_base<T>::timed_out = BOOST_ASIO_SOCKET_ERROR(ETIMEDOUT);
 
 template <typename T> const boost::system::error_code


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to