THRIFT-3253 Using latest version of D gives deprecation notices
Client: D
Patch: Phongphan Phuttha <phongphan@acm.org>
diff --git a/lib/d/test/transport_test.d b/lib/d/test/transport_test.d
index 09bf6fd..623e03f 100644
--- a/lib/d/test/transport_test.d
+++ b/lib/d/test/transport_test.d
@@ -144,7 +144,7 @@
   }
 
   ~this() {
-    clear(inner_);
+    destroy(inner_);
   }
 
 private: