From 5e6e9d83bc0c04e3721f2674f9a33e172e524b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Mon, 28 Mar 2016 11:21:51 +0200 Subject: Use unordered_map instead of map in the parsers. --- src/saxparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saxparser.h') diff --git a/src/saxparser.h b/src/saxparser.h index b4d9823..92197d1 100644 --- a/src/saxparser.h +++ b/src/saxparser.h @@ -27,7 +27,7 @@ #pragma once #include -#include +#include #include #include @@ -43,7 +43,7 @@ public: virtual int parseString(const std::string& str, const std::string& xml_source_name = ""); protected: - using attr_t = std::map; + using attr_t = std::unordered_map; virtual void characterData(const std::string& data) {} virtual void startTag(const std::string& name, const attr_t& attr) {} -- cgit v1.2.3