]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPUrlList.cpp
use URIs instead of hostname/port
[openldap] / contrib / ldapc++ / src / LDAPUrlList.cpp
index 38e2c7da0d6b24b9cd3d33c31e429fc58b6a3759..39129aa27fb0f778ffd8a7e73a046629e27e2397 100644 (file)
@@ -1,14 +1,17 @@
 /*
- * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2002 OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
 #include "LDAPUrlList.h"
+#include <assert.h>
 #include "debug.h"
 
+using namespace std;
+
 LDAPUrlList::LDAPUrlList(){
     DEBUG(LDAP_DEBUG_CONSTRUCT," LDAPUrlList::LDAPUrlList()" << endl);
-    m_urls=UrlList();
+    m_urls=LDAPUrlList::ListType();
 }
 
 LDAPUrlList::LDAPUrlList(const LDAPUrlList& urls){