|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85757 - in trunk/boost/asio: . impl
From: chris_at_[hidden]
Date: 2013-09-17 18:04:55
Author: chris_kohlhoff
Date: 2013-09-17 18:04:55 EDT (Tue, 17 Sep 2013)
New Revision: 85757
URL: http://svn.boost.org/trac/boost/changeset/85757
Log:
Add missing forward declarations needed for Windows.
Text files modified:
trunk/boost/asio/impl/handler_alloc_hook.ipp | 5 ++++-
trunk/boost/asio/io_service.hpp | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/impl/handler_alloc_hook.ipp
==============================================================================
--- trunk/boost/asio/impl/handler_alloc_hook.ipp Tue Sep 17 18:04:10 2013 (r85756)
+++ trunk/boost/asio/impl/handler_alloc_hook.ipp 2013-09-17 18:04:55 EDT (Tue, 17 Sep 2013) (r85757)
@@ -21,7 +21,6 @@
#if !defined(BOOST_ASIO_DISABLE_SMALL_BLOCK_RECYCLING)
# if defined(BOOST_ASIO_HAS_IOCP)
-# include <boost/asio/detail/win_iocp_io_service_fwd.hpp>
# include <boost/asio/detail/win_iocp_thread_info.hpp>
# else // defined(BOOST_ASIO_HAS_IOCP)
# include <boost/asio/detail/task_io_service_thread_info.hpp>
@@ -33,6 +32,10 @@
namespace boost {
namespace asio {
+#if defined(BOOST_ASIO_HAS_IOCP)
+namespace detail { class win_iocp_io_service; }
+#endif // defined(BOOST_ASIO_HAS_IOCP)
+
void* asio_handler_allocate(std::size_t size, ...)
{
#if !defined(BOOST_ASIO_DISABLE_SMALL_BLOCK_RECYCLING)
Modified: trunk/boost/asio/io_service.hpp
==============================================================================
--- trunk/boost/asio/io_service.hpp Tue Sep 17 18:04:10 2013 (r85756)
+++ trunk/boost/asio/io_service.hpp 2013-09-17 18:04:55 EDT (Tue, 17 Sep 2013) (r85757)
@@ -44,6 +44,7 @@
namespace detail {
#if defined(BOOST_ASIO_HAS_IOCP)
typedef class win_iocp_io_service io_service_impl;
+ class win_iocp_overlapped_ptr;
#else
typedef class task_io_service io_service_impl;
#endif
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