mirror of https://github.com/AxioDL/tinyxml2.git
Stopwatch must be stopped before test check
This commit is contained in:
parent
82e20b1831
commit
1ab85878ba
|
@ -2152,12 +2152,12 @@ int main( int argc, const char ** argv )
|
|||
doc.Parse(mem);
|
||||
parseDreamXmlFailed = parseDreamXmlFailed || doc.Error();
|
||||
}
|
||||
XMLTest( "Parse dream.xml", false, parseDreamXmlFailed );
|
||||
#if defined( _MSC_VER )
|
||||
QueryPerformanceCounter((LARGE_INTEGER*)&end);
|
||||
#else
|
||||
clock_t cend = clock();
|
||||
#endif
|
||||
XMLTest( "Parse dream.xml", false, parseDreamXmlFailed );
|
||||
|
||||
delete[] mem;
|
||||
|
||||
|
|
Loading…
Reference in New Issue