From: Ralf Haferkamp Date: Tue, 16 Feb 2010 15:20:05 +0000 (+0000) Subject: removed buggy destructor, use default instead X-Git-Tag: MIGRATION_CVS2GIT~691 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3a23a0891efe8e94bdcdb6886eb6d0a86d57db5;p=openldap removed buggy destructor, use default instead --- diff --git a/contrib/ldapc++/src/LDAPAsynConnection.cpp b/contrib/ldapc++/src/LDAPAsynConnection.cpp index 65e7a09cf1..ff76868b15 100644 --- a/contrib/ldapc++/src/LDAPAsynConnection.cpp +++ b/contrib/ldapc++/src/LDAPAsynConnection.cpp @@ -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, diff --git a/contrib/ldapc++/src/LDAPAsynConnection.h b/contrib/ldapc++/src/LDAPAsynConnection.h index 43dcc25c43..4c90ee14ef 100644 --- a/contrib/ldapc++/src/LDAPAsynConnection.h +++ b/contrib/ldapc++/src/LDAPAsynConnection.h @@ -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. *