Bring back destructor, to keep ABI compatibile (at least for now)

This commit is contained in:
Ralf Haferkamp 2010-02-19 14:02:32 +00:00
parent 183cdd4398
commit a2dc37d053
2 changed files with 4 additions and 0 deletions

View File

@ -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,

View File

@ -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.
*