]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/StringList.cpp
Merge remote branch 'origin/mdb.master'
[openldap] / contrib / ldapc++ / src / StringList.cpp
index c997c42dfdf92e8545108c60d532ebee928ee805..44dd1ed879011ccebb5a169ca3700ef72131e941 100644 (file)
@@ -1,23 +1,26 @@
+// $OpenLDAP$
 /*
- * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
 #include "StringList.h"
 #include "debug.h"
 
+#include <cstdlib>
+
 using namespace std;
 
 StringList::StringList(){
 }
 
 StringList::StringList(const StringList& sl){
-    m_data= ListType(sl.m_data);
+    m_data= StringList::ListType(sl.m_data);
 }
 
 StringList::StringList(char** values){
     if(values == 0){
-        m_data=ListType();
+        m_data=StringList::ListType();
     }else{
         char** i;
         for(i=values; *i != 0; i++){