1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 23:22:59 +04:00

Correct assigment interface for StrPair

Assigment operator takes non-const reference when const reference is the norm.
This commit is contained in:
Bo Rydberg
2018-10-19 18:45:53 +02:00
committed by GitHub
parent 7e8e249990
commit 65c1b86582
+1 -1
View File
@@ -190,7 +190,7 @@ private:
char* _end;
StrPair( const StrPair& other ); // not supported
void operator=( StrPair& other ); // not supported, use TransferTo()
void operator=( const StrPair& other ); // not supported, use TransferTo()
};