浏览代码

Merge pull request #718 from bolry/patch-1

Correct assigment interface for StrPair
Lee Thomason 7 年之前
父节点
当前提交
dcedec857b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tinyxml2.h

+ 1 - 1
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()
 };