]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/typedefs.h
Store config values in a map instead of a unique vector of pairs.
[user/henk/code/inspircd.git] / include / typedefs.h
index 879ef062741453846fcfc3ce794628327375ee97..d7bfadc60a99eaa1252c74abf1793c455ac4a5cc 100644 (file)
@@ -66,9 +66,9 @@ typedef std::vector<Membership*> IncludeChanList;
  */
 typedef std::vector<std::string> file_cache;
 
-/** A configuration key and value pair
+/** A mapping of configuration keys to their assigned values.
  */
-typedef std::pair<std::string, std::string> KeyVal;
+typedef insp::flat_map<std::string, std::string> ConfigItems;
 
 /** The entire configuration
  */