9
9
// http://www.boost.org/LICENSE_1_0.txt)
10
10
11
11
#include < thread>
12
+ #include < memory>
12
13
#include < boost/asio/io_service.hpp>
13
14
#include < boost/asio/strand.hpp>
14
15
#include < boost/bind.hpp>
15
- #include < boost/make_shared.hpp>
16
16
#include < boost/network/protocol/http/traits/connection_policy.hpp>
17
- #include < boost/shared_ptr.hpp>
18
17
19
18
namespace boost {
20
19
namespace network {
@@ -39,7 +38,7 @@ struct async_client
39
38
40
39
async_client (bool cache_resolved, bool follow_redirect,
41
40
bool always_verify_peer, int timeout,
42
- boost ::shared_ptr<boost::asio::io_service> service,
41
+ std ::shared_ptr<boost::asio::io_service> service,
43
42
optional<string_type> certificate_filename,
44
43
optional<string_type> verify_path,
45
44
optional<string_type> certificate_file,
@@ -48,7 +47,7 @@ struct async_client
48
47
: connection_base(cache_resolved, follow_redirect, timeout),
49
48
service_ptr (service.get()
50
49
? service
51
- : boost ::make_shared<boost::asio::io_service>()),
50
+ : std ::make_shared<boost::asio::io_service>()),
52
51
service_(*service_ptr),
53
52
resolver_(service_),
54
53
sentinel_(new boost::asio::io_service::work(service_)),
@@ -88,11 +87,11 @@ struct async_client
88
87
generator);
89
88
}
90
89
91
- boost ::shared_ptr<boost::asio::io_service> service_ptr;
90
+ std ::shared_ptr<boost::asio::io_service> service_ptr;
92
91
boost::asio::io_service& service_;
93
92
resolver_type resolver_;
94
- boost ::shared_ptr<boost::asio::io_service::work> sentinel_;
95
- boost ::shared_ptr<std::thread> lifetime_thread_;
93
+ std ::shared_ptr<boost::asio::io_service::work> sentinel_;
94
+ std ::shared_ptr<std::thread> lifetime_thread_;
96
95
optional<string_type> certificate_filename_;
97
96
optional<string_type> verify_path_;
98
97
optional<string_type> certificate_file_;
0 commit comments