Removed explicit reference counting in handle.cc
[invirt/third/libt4.git] / handle.h
index d4b6223..dc2edb7 100644 (file)
--- a/handle.h
+++ b/handle.h
@@ -30,10 +30,9 @@ class hinfo;
 
 class handle {
     private:
-        hinfo *h;
+        shared_ptr<hinfo> h;
     public:
         handle(const string & m);
-        ~handle();
         /* safebind will try to bind with the rpc server on the first call.
          * Since bind may block, the caller probably should not hold a mutex
          * when calling safebind.