blob: dd8c0671cfe361092a1436c424b9c79eb36af25f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- contrib/restricted/thrift/thrift/transport/TFDTransport.cpp (b92e22f2baa7a4b746902dd4641a3025ca1f424f)
+++ contrib/restricted/thrift/thrift/transport/TFDTransport.cpp (working tree)
@@ -46,7 +46,7 @@ void TFDTransport::close() {
int errno_copy = THRIFT_ERRNO;
fd_ = -1;
// Have to check uncaught_exception because this is called in the destructor.
- if (rv < 0 && !std::uncaught_exception()) {
+ if (rv < 0 && !std::uncaught_exceptions()) {
throw TTransportException(TTransportException::UNKNOWN, "TFDTransport::close()", errno_copy);
}
}
|