aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/tls_client.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-28 20:07:29 +0000
committerlloyd <[email protected]>2010-10-28 20:07:29 +0000
commitedf4cd93eedf8e6972edaccaea4b7b7ab45faded (patch)
tree6f0a311ab72876b69556c26c3f2441ccbf1a3f66 /src/ssl/tls_client.cpp
parent7c2ac02f29fd4b5d629e187381baa783b53bd2e4 (diff)
function<> is in in std in C++0x
Diffstat (limited to 'src/ssl/tls_client.cpp')
-rw-r--r--src/ssl/tls_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/tls_client.cpp b/src/ssl/tls_client.cpp
index 505b2c22a..206d5f028 100644
--- a/src/ssl/tls_client.cpp
+++ b/src/ssl/tls_client.cpp
@@ -81,8 +81,8 @@ void client_check_state(Handshake_Type new_msg, Handshake_State* state)
/**
* TLS Client Constructor
*/
-TLS_Client::TLS_Client(std::tr1::function<size_t (byte[], size_t)> input_fn,
- std::tr1::function<void (const byte[], size_t)> output_fn,
+TLS_Client::TLS_Client(std::function<size_t (byte[], size_t)> input_fn,
+ std::function<void (const byte[], size_t)> output_fn,
const TLS_Policy& policy,
RandomNumberGenerator& rng) :
input_fn(input_fn),