mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 03:11:27 +00:00
Merge pull request #358 from Dmitry-Me/betterDocumentWarningSuppression
Better document warning suppression code
This commit is contained in:
commit
400e5b2d60
@ -1769,7 +1769,8 @@ XMLDocument::XMLDocument( bool processEntities, Whitespace whitespace ) :
|
||||
_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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user