aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/tls_server.cpp')
-rw-r--r--src/ssl/tls_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/tls_server.cpp b/src/ssl/tls_server.cpp
index 6f79fe0fb..65f4204c8 100644
--- a/src/ssl/tls_server.cpp
+++ b/src/ssl/tls_server.cpp
@@ -93,7 +93,7 @@ TLS_Server::TLS_Server(const TLS_Policy& pol,
policy(pol),
rng(r),
peer(sock),
- writer(std::tr1::bind(&Socket::write, std::tr1::ref(peer), _1, _2))
+ writer(std::bind(&Socket::write, std::ref(peer), _1, _2))
{
state = 0;