From e3a23a0891efe8e94bdcdb6886eb6d0a86d57db5 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 16 Feb 2010 15:20:05 +0000 Subject: [PATCH] removed buggy destructor, use default instead --- contrib/ldapc++/src/LDAPAsynConnection.cpp | 7 ------- contrib/ldapc++/src/LDAPAsynConnection.h | 3 --- 2 files changed, 10 deletions(-) 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. * -- 2.39.5