Boost logo

Boost-Commit :

From: chris_at_[hidden]
Date: 2007-12-08 09:03:41


Author: chris_kohlhoff
Date: 2007-12-08 09:03:40 EST (Sat, 08 Dec 2007)
New Revision: 41870
URL: http://svn.boost.org/trac/boost/changeset/41870

Log:
Ensure asio header comes before boost.thread header.

Text files modified:
   trunk/libs/asio/example/chat/chat_client.cpp | 2 +-
   trunk/libs/asio/example/echo/blocking_tcp_echo_server.cpp | 2 +-
   trunk/libs/asio/test/io_service.cpp | 2 +-
   trunk/libs/asio/test/strand.cpp | 2 +-
   4 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/asio/example/chat/chat_client.cpp
==============================================================================
--- trunk/libs/asio/example/chat/chat_client.cpp (original)
+++ trunk/libs/asio/example/chat/chat_client.cpp 2007-12-08 09:03:40 EST (Sat, 08 Dec 2007)
@@ -11,9 +11,9 @@
 #include <cstdlib>
 #include <deque>
 #include <iostream>
-#include <boost/thread.hpp>
 #include <boost/bind.hpp>
 #include <boost/asio.hpp>
+#include <boost/thread.hpp>
 #include "chat_message.hpp"
 
 using boost::asio::ip::tcp;

Modified: trunk/libs/asio/example/echo/blocking_tcp_echo_server.cpp
==============================================================================
--- trunk/libs/asio/example/echo/blocking_tcp_echo_server.cpp (original)
+++ trunk/libs/asio/example/echo/blocking_tcp_echo_server.cpp 2007-12-08 09:03:40 EST (Sat, 08 Dec 2007)
@@ -10,10 +10,10 @@
 
 #include <cstdlib>
 #include <iostream>
-#include <boost/thread.hpp>
 #include <boost/bind.hpp>
 #include <boost/smart_ptr.hpp>
 #include <boost/asio.hpp>
+#include <boost/thread.hpp>
 
 using boost::asio::ip::tcp;
 

Modified: trunk/libs/asio/test/io_service.cpp
==============================================================================
--- trunk/libs/asio/test/io_service.cpp (original)
+++ trunk/libs/asio/test/io_service.cpp 2007-12-08 09:03:40 EST (Sat, 08 Dec 2007)
@@ -17,9 +17,9 @@
 #include <boost/asio/io_service.hpp>
 
 #include <sstream>
-#include <boost/thread.hpp>
 #include <boost/bind.hpp>
 #include <boost/asio.hpp>
+#include <boost/thread.hpp>
 #include "unit_test.hpp"
 
 using namespace boost::asio;

Modified: trunk/libs/asio/test/strand.cpp
==============================================================================
--- trunk/libs/asio/test/strand.cpp (original)
+++ trunk/libs/asio/test/strand.cpp 2007-12-08 09:03:40 EST (Sat, 08 Dec 2007)
@@ -17,9 +17,9 @@
 #include <boost/asio/strand.hpp>
 
 #include <sstream>
-#include <boost/thread.hpp>
 #include <boost/bind.hpp>
 #include <boost/asio.hpp>
+#include <boost/thread.hpp>
 #include "unit_test.hpp"
 
 using namespace boost::asio;


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