Implement "move" equivalent of assignment operator for StrPair
diff --git a/tinyxml2.h b/tinyxml2.h
index 2c9c155..dfffbde 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -184,6 +184,8 @@
char* ParseText( char* in, const char* endTag, int strFlags );
char* ParseName( char* in );
+ void TransferTo( StrPair& other );
+
private:
void Reset();
void CollapseWhitespace();
@@ -197,6 +199,9 @@
int _flags;
char* _start;
char* _end;
+
+ StrPair( const StrPair& other ); // not supported
+ void operator=( StrPair& other ); // not supported, use TransferTo()
};