mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
removed buggy destructor, use default instead
This commit is contained in:
parent
98252925e3
commit
e3a23a0891
@ -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,
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user