commit | 5ee20feaf0945250947c417fcd8a7b177e50a942 | [log] [tgz] |
---|---|---|
author | justnope <nowhere@invalid> | Mon Jun 15 00:47:48 2020 +0200 |
committer | justnope <nowhere@invalid> | Mon Jun 15 00:47:48 2020 +0200 |
tree | f34b4211556ef2ee583a4285f39ca64157807c22 | |
parent | fc8967074959a953f9e24f5e31985ef0733ab42a [diff] [blame] |
Add QueryAttribute for const char**
diff --git a/tinyxml2.h b/tinyxml2.h index 2eec50d..7220930 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -1456,6 +1456,10 @@ 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 );