]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPReferenceList.h
Sync with HEAD
[openldap] / contrib / ldapc++ / src / LDAPReferenceList.h
index 0aa5a18219cb4959b1fb8418c6401795094c1555..fb289833b2776ca8ff6ad6ded264448d1ac09684 100644 (file)
 
 class LDAPSearchReference;
 
-typedef std::list<LDAPSearchReference> RefList;
-
 /**
  * Container class for storing a list of Search References
  *
  * Used internally only by LDAPSearchResults
  */
 class LDAPReferenceList{
+    typedef std::list<LDAPSearchReference> ListType;
+
     public:
-       typedef RefList::const_iterator const_iterator;
+       typedef ListType::const_iterator const_iterator;
 
         /**
          * Constructs an empty list.
@@ -66,7 +66,7 @@ class LDAPReferenceList{
         void addReference(const LDAPSearchReference& e);
 
     private:
-        RefList m_refs;
+        ListType m_refs;
 };
 #endif // LDAP_REFERENCE_LIST_H