Fix compile issue for compiler without cpp11

This commit is contained in:
halx99 2021-09-29 16:48:25 +08:00 committed by GitHub
parent 5f1eb20568
commit 4ed7a7f746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,8 +284,8 @@ namespace pugi {
bool value; bool value;
operator bool() const { return value; } operator bool() const { return value; }
}; };
static const boolean true_value{ true }; static const boolean true_value(true);
static const boolean false_value{ false }; static const boolean false_value(false);
} // namespace pugi } // namespace pugi
namespace pugi namespace pugi