summaryrefslogtreecommitdiff
path: root/src/saxparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/saxparser.h')
-rw-r--r--src/saxparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saxparser.h b/src/saxparser.h
index 8cfbdda..4b1a273 100644
--- a/src/saxparser.h
+++ b/src/saxparser.h
@@ -27,7 +27,7 @@
#pragma once
#include <string>
-#include <map>
+#include <unordered_map>
#include <expat.h>
#include <fstream>
@@ -45,7 +45,7 @@ public:
const std::string& xml_source_name = "");
protected:
- using attr_t = std::map<std::string, std::string>;
+ using attr_t = std::unordered_map<std::string, std::string>;
virtual void characterData(const std::string& data) {}
virtual void startTag(const std::string& name, const attr_t& attr) {}