From: Ralf Haferkamp Date: Fri, 19 Feb 2010 14:02:32 +0000 (+0000) Subject: Bring back destructor, to keep ABI compatibile (at least for now) X-Git-Tag: MIGRATION_CVS2GIT~682 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2dc37d05313c5bbc443038801154eb93aba4d8c;p=openldap Bring back destructor, to keep ABI compatibile (at least for now) --- diff --git a/contrib/ldapc++/src/LDAPAsynConnection.cpp b/contrib/ldapc++/src/LDAPAsynConnection.cpp index 8367e62a45..638ba6ae8c 100644 --- a/contrib/ldapc++/src/LDAPAsynConnection.cpp +++ b/contrib/ldapc++/src/LDAPAsynConnection.cpp @@ -43,6 +43,8 @@ LDAPAsynConnection::LDAPAsynConnection(const string& url, int port, this->setConstraints(cons); } +LDAPAsynConnection::~LDAPAsynConnection(){} + 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 4e41dd8ab7..48e16e0e23 100644 --- a/contrib/ldapc++/src/LDAPAsynConnection.h +++ b/contrib/ldapc++/src/LDAPAsynConnection.h @@ -71,6 +71,8 @@ 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. *