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:
14
tinyxml2.h
14
tinyxml2.h
@@ -643,9 +643,7 @@ public:
|
||||
Text: the text string
|
||||
@endverbatim
|
||||
*/
|
||||
const char* Value() const {
|
||||
return _value.GetStr();
|
||||
}
|
||||
const char* Value() const;
|
||||
|
||||
/** Set the Value of an XML node.
|
||||
@sa Value()
|
||||
@@ -1014,13 +1012,11 @@ class TINYXML2_LIB XMLAttribute
|
||||
friend class XMLElement;
|
||||
public:
|
||||
/// The name of the attribute.
|
||||
const char* Name() const {
|
||||
return _name.GetStr();
|
||||
}
|
||||
const char* Name() const;
|
||||
|
||||
/// The value of the attribute.
|
||||
const char* Value() const {
|
||||
return _value.GetStr();
|
||||
}
|
||||
const char* Value() const;
|
||||
|
||||
/// The next attribute in the list.
|
||||
const XMLAttribute* Next() const {
|
||||
return _next;
|
||||
|
||||
Reference in New Issue
Block a user