Skip to content

Commit eb129c9

Browse files
author
Dean Michael Berris
committed
Fixing header include order in the message implementation.
1 parent 37357c6 commit eb129c9

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

boost/network/message.hpp

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,15 @@
66
#ifndef __NETWORK_MESSAGE_HPP__
77
#define __NETWORK_MESSAGE_HPP__
88

9-
#include <map>
10-
#include <string>
11-
12-
13-
// include message declaration
149
#include "boost/network/message_fwd.hpp"
15-
16-
// include traits implementation
1710
#include <boost/network/traits/string.hpp>
1811
#include <boost/network/traits/ostringstream.hpp>
1912
#include <boost/network/traits/headers_container.hpp>
20-
21-
// include directives base
2213
#include <boost/network/detail/directive_base.hpp>
23-
24-
// include wrappers base
2514
#include <boost/network/detail/wrapper_base.hpp>
15+
#include <boost/network/message/directives.hpp>
16+
#include <boost/network/message/wrappers.hpp>
17+
#include <boost/network/message/transformers.hpp>
2618

2719
#include <boost/network/message/message_concept.hpp>
2820

@@ -122,14 +114,5 @@ BOOST_CONCEPT_ASSERT((Message<basic_message<boost::network::tags::default_wstrin
122114
} // namespace network
123115
} // namespace boost
124116

125-
#include <boost/network/message/directives.hpp>
126-
// pull in directives header file
127-
128-
#include <boost/network/message/wrappers.hpp>
129-
// pull in wrappers header file
130-
131-
#include <boost/network/message/transformers.hpp>
132-
// pull in transformer header file
133-
134117
#endif // __NETWORK_MESSAGE_HPP__
135118

boost/network/protocol/http/server.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#include <boost/shared_ptr.hpp>
1414
#include <boost/bind.hpp>
1515
#include <boost/asio/ip/tcp.hpp>
16+
#include <boost/network/protocol/http/request.hpp>
17+
#include <boost/network/protocol/http/response.hpp>
1618
#include <boost/network/protocol/http/connection.hpp>
1719
#include <boost/network/traits/string.hpp>
1820

boost/network/uri/basic_uri.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ namespace boost { namespace network { namespace uri {
100100
template <class Tag>
101101
struct basic_uri : uri_base<Tag> {
102102
using uri_base<Tag>::operator=;
103-
using uri_base<Tag>::string_type;
103+
using typename uri_base<Tag>::string_type;
104104
using uri_base<Tag>::operator==;
105105
using uri_base<Tag>::operator!=;
106106
basic_uri() : uri_base<Tag>() {}

0 commit comments

Comments
 (0)