]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5685] Checkpoint: list -> vector
authorFrancis Dupont <fdupont@isc.org>
Tue, 10 Jul 2018 06:41:12 +0000 (08:41 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 5 Nov 2018 16:38:48 +0000 (11:38 -0500)
src/lib/dhcpsrv/client_class_def.h

index abeda2adfc885d4069fd8e13b78e1aff07cb8dac..a20a36ee09225e6798af3090ff00e786b9a2ac46 100644 (file)
@@ -17,6 +17,7 @@
 #include <string>
 #include <unordered_map>
 #include <list>
+#include <vector>
 
 /// @file client_class_def.h
 ///
@@ -250,7 +251,7 @@ typedef std::unordered_map<std::string, ClientClassDefPtr> ClientClassDefMap;
 typedef boost::shared_ptr<ClientClassDefMap> ClientClassDefMapPtr;
 
 /// @brief Defines a list of ClientClassDefPtr's, using insert order.
-typedef std::list<ClientClassDefPtr> ClientClassDefList;
+typedef std::vector<ClientClassDefPtr> ClientClassDefList;
 
 /// @brief Defines a pointer to a ClientClassDefList
 typedef boost::shared_ptr<ClientClassDefList> ClientClassDefListPtr;