Correct assigment interface for StrPair
Assigment operator takes non-const reference when const reference is the norm.
This commit is contained in:
@@ -190,7 +190,7 @@ private:
|
|||||||
char* _end;
|
char* _end;
|
||||||
|
|
||||||
StrPair( const StrPair& other ); // not supported
|
StrPair( const StrPair& other ); // not supported
|
||||||
void operator=( StrPair& other ); // not supported, use TransferTo()
|
void operator=( const StrPair& other ); // not supported, use TransferTo()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user