File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
contrib/http_examples/http
http/src/network/protocol/http Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ struct file_cache {
101
101
102
102
};
103
103
104
- struct connection_handler : boost ::enable_shared_from_this<connection_handler> {
104
+ struct connection_handler : std ::enable_shared_from_this<connection_handler> {
105
105
explicit connection_handler (file_cache& cache) : file_cache_(cache) {}
106
106
107
107
void operator ()(std::string const & path,
Original file line number Diff line number Diff line change 13
13
#include < boost/shared_ptr.hpp>
14
14
#include < boost/lexical_cast.hpp>
15
15
#include < boost/cstdint.hpp>
16
- #include < boost/enable_shared_from_this.hpp>
16
+ // #include <boost/enable_shared_from_this.hpp>
17
17
#include < boost/tuple/tuple.hpp>
18
18
#include < functional>
19
19
#include < functional>
@@ -47,7 +47,7 @@ struct simple_async_connection_manager : connection_manager {
47
47
struct http_1_1_async_connection ;
48
48
49
49
struct http_1_1_async_connection_manager : connection_manager,
50
- enable_shared_from_this<http_1_1_async_connection_manager> {
50
+ std:: enable_shared_from_this<http_1_1_async_connection_manager> {
51
51
http_1_1_async_connection_manager (bool cache_resolved,
52
52
bool follow_redirects,
53
53
optional<std::string> openssl_certificate,
Original file line number Diff line number Diff line change 14
14
15
15
#include < utility>
16
16
#include < iterator>
17
- #include < boost/enable_shared_from_this.hpp>
17
+ // #include <boost/enable_shared_from_this.hpp>
18
18
#include < network/constants.hpp>
19
19
#include < network/protocol/http/server/request_parser.hpp>
20
20
#include < network/protocol/http/request.hpp>
@@ -43,7 +43,7 @@ extern void parse_headers(
43
43
#endif
44
44
45
45
class sync_server_connection
46
- : public boost ::enable_shared_from_this<sync_server_connection> {
46
+ : public std ::enable_shared_from_this<sync_server_connection> {
47
47
public:
48
48
sync_server_connection (boost::asio::io_service& service,
49
49
std::function<void (request const &, response&)> handler)
You can’t perform that action at this time.
0 commit comments