aboutsummaryrefslogtreecommitdiff
path: root/src/net/socks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/socks.cpp')
-rw-r--r--src/net/socks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/socks.cpp b/src/net/socks.cpp
index 9b81c6c2e..5a27e16f4 100644
--- a/src/net/socks.cpp
+++ b/src/net/socks.cpp
@@ -221,7 +221,7 @@ namespace socks
};
client::client(stream_type::socket&& proxy, socks::version ver)
- : proxy_(std::move(proxy)), strand_(proxy_.get_io_service()), buffer_size_(0), buffer_(), ver_(ver)
+ : proxy_(std::move(proxy)), strand_(GET_IO_SERVICE(proxy_)), buffer_size_(0), buffer_(), ver_(ver)
{}
client::~client() {}