commit | 400e5b2d6010ab34e0fbd1baf799132bd0817c7c | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Mon Jul 06 14:17:30 2015 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Mon Jul 06 14:17:30 2015 -0700 |
tree | 86d429d4664f0b7edf3b123827ed9c96f103d165 | |
parent | 4824e95bc09ef13429de8bd77dfbcdd2efbaa4cc [diff] | |
parent | 8dd493b26847612cd2cbe1ee0e722d14819d99a2 [diff] |
Merge pull request #358 from Dmitry-Me/betterDocumentWarningSuppression Better document warning suppression code
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 5c91843..be949d7 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -1769,7 +1769,8 @@ _errorStr2( 0 ), _charBuffer( 0 ) { - _document = this; // avoid warning about 'this' in initializer list + // avoid VC++ C4355 warning about 'this' in initializer list (C4355 is off by default in VS2012+) + _document = this; }