From e3af24413db411b1acb284a601f82ab8a3762edb Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 30 Sep 2021 08:26:45 +0800 Subject: [PATCH] Fix for non-cpp11 compiler --- src/pugixml.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pugixml.hpp b/src/pugixml.hpp index b892db5..e3c1da0 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -143,12 +143,12 @@ // The string_view namespace pugi { #if defined(PUGI_CXX17_FEATURES) && PUGI_CXX17_FEATURES - template > + template > using basic_string_view = std::basic_string_view; typedef std::string_view string_view; typedef std::wstring_view wstring_view; #else - template > + template > struct basic_string_view { std::size_t s; const Char* p; @@ -231,7 +231,7 @@ namespace pugi { } }; - template > + template > struct basic_string_view_hash { typedef basic_string_view argument_type; typedef std::size_t result_type;