From 65c1b86582d11c61dc96c6ab040363994203789f Mon Sep 17 00:00:00 2001 From: Bo Rydberg Date: Fri, 19 Oct 2018 18:45:53 +0200 Subject: [PATCH] Correct assigment interface for StrPair Assigment operator takes non-const reference when const reference is the norm. --- tinyxml2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.h b/tinyxml2.h index 887e173..a640818 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -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() };