THRIFT-2581 C++ TFDTransport destructor should not throw
diff --git a/lib/cpp/test/TFDTransportTest.cpp b/lib/cpp/test/TFDTransportTest.cpp
index 7ffca71..e30d9c0 100644
--- a/lib/cpp/test/TFDTransportTest.cpp
+++ b/lib/cpp/test/TFDTransportTest.cpp
@@ -35,6 +35,7 @@
try {
{
TFDTransport t(256, TFDTransport::CLOSE_ON_DESTROY);
+ t.close();
}
std::abort();
} catch (TTransportException) {
@@ -47,7 +48,7 @@
}
std::abort();
} catch (TTransportException&) {
- abort();
+ std::abort();
} catch (DummyException&) {
}