summaryrefslogtreecommitdiff
path: root/src/configparser.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-03-28 11:21:51 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-29 22:19:49 +0200
commit5e6e9d83bc0c04e3721f2674f9a33e172e524b2d (patch)
tree1f97ddf497845a6246237b6c41118baaf2611dcd /src/configparser.h
parent8c585aa006741b95c1175afcdb01cdd3d8d2d7db (diff)
Use unordered_map instead of map in the parsers.
Diffstat (limited to 'src/configparser.h')
-rw-r--r--src/configparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configparser.h b/src/configparser.h
index 79f0cb1..29e47b0 100644
--- a/src/configparser.h
+++ b/src/configparser.h
@@ -26,7 +26,7 @@
*/
#pragma once
-#include <map>
+#include <unordered_map>
#include "saxparser.h"
@@ -42,6 +42,6 @@ public:
std::string value(const std::string& name, const std::string& def = "");
private:
- std::map<std::string, std::string> values;
+ std::unordered_map<std::string, std::string> values;
std::string* str;
};