Remove noexcept from AsyncSocket::prepareReadBuffer
[folly.git] / folly / io / async / AsyncSocket.cpp
index b1bbba24120eb59fb86c3fbda6b30848b05d0c9c..652f90f5d46cd2578199670dc71c4a5024980459 100644 (file)
@@ -1333,7 +1333,7 @@ AsyncSocket::performRead(void** buf, size_t* buflen, size_t* /* offset */) {
   }
 }
 
-void AsyncSocket::prepareReadBuffer(void** buf, size_t* buflen) noexcept {
+void AsyncSocket::prepareReadBuffer(void** buf, size_t* buflen) {
   // no matter what, buffer should be preapared for non-ssl socket
   CHECK(readCallback_);
   readCallback_->getReadBuffer(buf, buflen);