]> git.sur5r.net Git - openldap/commitdiff
removed buggy destructor, use default instead
authorRalf Haferkamp <ralf@openldap.org>
Tue, 16 Feb 2010 15:20:05 +0000 (15:20 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 16 Feb 2010 15:20:05 +0000 (15:20 +0000)
contrib/ldapc++/src/LDAPAsynConnection.cpp
contrib/ldapc++/src/LDAPAsynConnection.h

index 65e7a09cf1aee400d07dd4b505af362f9fcaf211..ff76868b15599535518920792e7cd08b8baab64b 100644 (file)
@@ -42,13 +42,6 @@ LDAPAsynConnection::LDAPAsynConnection(const string& url, int port,
     this->setConstraints(cons);
 }
 
-LDAPAsynConnection::~LDAPAsynConnection(){
-    DEBUG(LDAP_DEBUG_DESTROY,
-            "LDAPAsynConnection::~LDAPAsynConnection()" << endl);
-    unbind();
-    //delete m_constr;        
-}
-
 void LDAPAsynConnection::init(const string& hostname, int port){
     DEBUG(LDAP_DEBUG_TRACE,"LDAPAsynConnection::init" << endl);
     DEBUG(LDAP_DEBUG_TRACE | LDAP_DEBUG_PARAMETER,
index 43dcc25c4384aa876f5bc96d3abd6502369c1edf..4c90ee14ef1e6f8ebe2a1003532910b50b1c6b37 100644 (file)
@@ -71,9 +71,6 @@ class LDAPAsynConnection{
         LDAPAsynConnection(const std::string& url=std::string("localhost"),
                 int port=0, LDAPConstraints *cons=new LDAPConstraints() );
 
-        //* Destructor
-        virtual ~LDAPAsynConnection();
-
         /** 
          * Initializes a connection to a server. 
          *