]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPEntryList.h
Sync with HEAD
[openldap] / contrib / ldapc++ / src / LDAPEntryList.h
index c82fb02c2fc47e42342052b9cdec41113446ab72..c65597e465370efd6d7f5dae3557256fde2b126f 100644 (file)
@@ -10,8 +10,6 @@
 
 class LDAPEntry;
    
-typedef std::list<LDAPEntry> EntryList;
-
 /**
  * For internal use only.
  * 
@@ -19,8 +17,10 @@ typedef std::list<LDAPEntry> EntryList;
  * LDAPEntry-Objects
  */
 class LDAPEntryList{
+    typedef std::list<LDAPEntry> ListType;
+
     public:
-       typedef EntryList::const_iterator const_iterator;
+       typedef ListType::const_iterator const_iterator;
 
         /**
          * Copy-Constructor
@@ -63,6 +63,6 @@ class LDAPEntryList{
         void addEntry(const LDAPEntry& e);
 
     private:
-        EntryList m_entries;
+        ListType m_entries;
 };
 #endif // LDAP_ENTRY_LIST_H