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

Modified Files:
        socket_base.cpp 
Log Message:
Try to fix Borland C++ compile errors.


Index: socket_base.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/test/socket_base.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- socket_base.cpp     7 Apr 2007 09:01:23 -0000       1.9
+++ socket_base.cpp     20 May 2007 03:50:22 -0000      1.10
@@ -28,11 +28,11 @@
 
 namespace socket_base_compile {
 
-using namespace boost::asio;
-namespace ip = boost::asio::ip;
-
 void test()
 {
+  using namespace boost::asio;
+  namespace ip = boost::asio::ip;
+
   try
   {
     io_service ios;
@@ -192,11 +192,11 @@
 
 namespace socket_base_runtime {
 
-using namespace boost::asio;
-namespace ip = boost::asio::ip;
-
 void test()
 {
+  using namespace boost::asio;
+  namespace ip = boost::asio::ip;
+
   io_service ios;
   ip::udp::socket udp_sock(ios, ip::udp::v4());
   ip::tcp::socket tcp_sock(ios, ip::tcp::v4());


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to