From a2dc37d05313c5bbc443038801154eb93aba4d8c Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Fri, 19 Feb 2010 14:02:32 +0000 Subject: [PATCH] Bring back destructor, to keep ABI compatibile (at least for now) --- contrib/ldapc++/src/LDAPAsynConnection.cpp | 2 ++ contrib/ldapc++/src/LDAPAsynConnection.h | 2 ++ 2 files changed, 4 insertions(+) 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. * -- 2.39.5