diff --git a/src/cpp/ripple/AutoSocket.h b/src/cpp/ripple/AutoSocket.h index 31ffd1563..904341960 100644 --- a/src/cpp/ripple/AutoSocket.h +++ b/src/cpp/ripple/AutoSocket.h @@ -179,15 +179,6 @@ public: boost::asio::async_read(PlainSocket(), buffers, cond, handler); } - template - void async_read(basio::basic_streambuf& buffers, Condition cond, Handler handler) - { - if (isSecure()) - boost::asio::async_read(*mSocket, buffers, handler); - else - boost::asio::async_read(PlainSocket(), buffers, handler); - } - template void async_read(const Buf& buffers, Handler handler) { if (isSecure())