Hack to put boost placeholders in a namespace

This commit is contained in:
Vinnie Falco
2013-06-28 10:19:40 -07:00
parent f1a4ea3c3f
commit d80547e980
7 changed files with 74 additions and 26 deletions

View File

@@ -90,7 +90,7 @@ public:
mSocket->set_verify_mode (boost::asio::ssl::verify_peer);
// XXX Verify semantics of RFC 2818 are what we want.
mSocket->set_verify_callback (boost::bind (&rfc2818_verify, strDomain, _1, _2), ec);
mSocket->set_verify_callback (boost::bind (&rfc2818_verify, strDomain, boost::placeholders::_1, boost::placeholders::_2), ec);
return ec;
}