Issue #134: Change 3 methods to not being inlined. They reference the StrPair class, which is not exported, thus creating linker problems with tinyxml2 in a DLL.

This commit is contained in:
Michael Daumling
2013-10-22 17:03:37 +02:00
parent 927fe73c5b
commit 2162688ad3
2 changed files with 20 additions and 9 deletions

View File

@@ -595,6 +595,10 @@ XMLNode::~XMLNode()
}
}
const char* XMLNode::Value() const
{
return _value.GetStr();
}
void XMLNode::SetValue( const char* str, bool staticMem )
{
@@ -1040,6 +1044,17 @@ bool XMLUnknown::Accept( XMLVisitor* visitor ) const
}
// --------- XMLAttribute ---------- //
const char* XMLAttribute::Name() const
{
return _name.GetStr();
}
const char* XMLAttribute::Value() const
{
return _value.GetStr();
}
char* XMLAttribute::ParseDeep( char* p, bool processEntities )
{
// Parse using the name rules: bug fix, was using ParseText before