Skip to content

Commit 7413945

Browse files
committed
Adding missing message_base.hpp to fix compile error.
1 parent 09cb7db commit 7413945

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_BASE_HPP_20100603
2+
#define BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_BASE_HPP_20100603
3+
4+
// Copyright 2010 (c) Dean Michael Berris
5+
// Copyright 2010 (c) Sinefunc, Inc.
6+
// Distributed under the Boost Software License, Version 1.0.
7+
// (See accompanying file LICENSE_1_0.txt or copy at
8+
// http://www.boost.org/LICENSE_1_0.txt)
9+
10+
#include <boost/network/tags.hpp>
11+
12+
#include <boost/mpl/if.hpp>
13+
#include <boost/type_traits/is_base_of.hpp>
14+
15+
namespace boost { namespace network { namespace http {
16+
17+
namespace impl {
18+
template <class Tag>
19+
struct async_message_base {};
20+
};
21+
22+
template <class Tag>
23+
struct message_base
24+
: mpl::if_<
25+
is_base_of<
26+
tags::async,
27+
Tag
28+
>,
29+
impl::async_message_base<Tag>,
30+
message_impl<Tag>
31+
>
32+
{};
33+
34+
} // namespace http
35+
36+
} // namespace network
37+
38+
} // namespace boost
39+
40+
#endif // BOOST_NETWORK_PROTOCOL_HTTP_MESSAGE_BASE_HPP_20100603

0 commit comments

Comments
 (0)