From 5ee20feaf0945250947c417fcd8a7b177e50a942 Mon Sep 17 00:00:00 2001 From: justnope Date: Mon, 15 Jun 2020 00:47:48 +0200 Subject: [PATCH] Add QueryAttribute for const char** --- tinyxml2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tinyxml2.h b/tinyxml2.h index 2eec50d..7220930 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -1456,6 +1456,10 @@ public: return QueryFloatAttribute( name, value ); } + XMLError QueryAttribute(const char* name, const char** value) const { + return QueryStringAttribute(name, value); + } + /// Sets the named attribute to value. void SetAttribute( const char* name, const char* value ) { XMLAttribute* a = FindOrCreateAttribute( name );