removed buggy destructor, use default instead

This commit is contained in:
Ralf Haferkamp 2010-02-16 15:20:05 +00:00
parent 98252925e3
commit e3a23a0891
2 changed files with 0 additions and 10 deletions

View File

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

View File

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