From 4ed7a7f746e7fbeee1bd66bd488beaaa4cdb9fa9 Mon Sep 17 00:00:00 2001 From: halx99 Date: Wed, 29 Sep 2021 16:48:25 +0800 Subject: [PATCH] Fix compile issue for compiler without cpp11 --- src/pugixml.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pugixml.hpp b/src/pugixml.hpp index ddfa4ad..b892db5 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -284,8 +284,8 @@ namespace pugi { bool value; operator bool() const { return value; } }; - static const boolean true_value{ true }; - static const boolean false_value{ false }; + static const boolean true_value(true); + static const boolean false_value(false); } // namespace pugi namespace pugi