Replace more strcmp with std::string::compare or std::string::operator==.
This commit also enables TinyXML STL support.
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
#endif //QT_WIDGET
|
||||
|
||||
if(argc >= 2 && strcmp(argv[1], "testsuite")==0)
|
||||
if(argc >= 2 && string(argv[1]) == "testsuite")
|
||||
{
|
||||
int result = 0;
|
||||
result += WagicCore::runTestSuite();
|
||||
|
||||
Reference in New Issue
Block a user