Assignment operator should be return by reference
Brought to you by:
malcolmnixon,
yvesb
in File tinyxml.h
In TiXmlHandle class assignment operator should return by reference.
Here is diff.
- TiXmlHandle operator=( const TiXmlHandle& ref ) { this->node = ref.node; return *this; }
+ TiXmlHandle& operator=( const TiXmlHandle& ref ) { this->node = ref.node; return *this; }
Patch for reported bug.