From d01bd44f9691ab6c05b115aa70b1272cfa6aa637 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 8 Apr 2002 11:51:22 +0000 Subject: [PATCH] removed default arguments from cpp-Files (to build on newer gcc) --- contrib/ldapc++/src/LDAPBindRequest.cpp | 2 +- contrib/ldapc++/src/LDAPConnection.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/ldapc++/src/LDAPBindRequest.cpp b/contrib/ldapc++/src/LDAPBindRequest.cpp index 28d0cf6821..eae3983b31 100644 --- a/contrib/ldapc++/src/LDAPBindRequest.cpp +++ b/contrib/ldapc++/src/LDAPBindRequest.cpp @@ -22,7 +22,7 @@ LDAPBindRequest::LDAPBindRequest(const LDAPBindRequest& req) : LDAPBindRequest::LDAPBindRequest(const string& dn,const string& passwd, LDAPAsynConnection *connect, const LDAPConstraints *cons, - bool isReferral=false) : LDAPRequest(connect, cons, isReferral){ + bool isReferral) : LDAPRequest(connect, cons, isReferral){ DEBUG(LDAP_DEBUG_CONSTRUCT,"LDAPBindRequest::LDAPBindRequest()" << endl); DEBUG(LDAP_DEBUG_CONSTRUCT | LDAP_DEBUG_PARAMETER, " dn:" << dn << endl << " passwd:" << passwd << endl); diff --git a/contrib/ldapc++/src/LDAPConnection.cpp b/contrib/ldapc++/src/LDAPConnection.cpp index 2ccda4a0ce..71165ea852 100644 --- a/contrib/ldapc++/src/LDAPConnection.cpp +++ b/contrib/ldapc++/src/LDAPConnection.cpp @@ -137,7 +137,7 @@ void LDAPConnection::del(const string& dn, const LDAPConstraints* cons){ } -void LDAPConnection::add(const LDAPEntry* le, const LDAPConstraints* cons=0){ +void LDAPConnection::add(const LDAPEntry* le, const LDAPConstraints* cons){ DEBUG(LDAP_DEBUG_TRACE,"LDAPConnection::add" << endl); LDAPMessageQueue* msg=0; LDAPResult* res=0; @@ -207,7 +207,7 @@ void LDAPConnection::modify(const string& dn, const LDAPModList* mods, void LDAPConnection::rename(const string& dn, const string& newRDN, bool delOldRDN, const string& newParentDN, - const LDAPConstraints* cons=0){ + const LDAPConstraints* cons){ DEBUG(LDAP_DEBUG_TRACE,"LDAPConnection::rename" << endl); LDAPMessageQueue* msg=0; LDAPResult* res=0; @@ -287,7 +287,7 @@ LDAPSearchResults* LDAPConnection::search(const string& base, int scope, } LDAPExtResult* LDAPConnection::extOperation(const string& oid, - const string& value, const LDAPConstraints *cons = 0){ + const string& value, const LDAPConstraints *cons){ DEBUG(LDAP_DEBUG_TRACE,"LDAPConnection::extOperation" << endl); LDAPMessageQueue* msg=0; LDAPExtResult* res=0; -- 2.39.5