mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:23:13 +00:00
[ROSAUTOTEST]
Use "advanced C++ features" like default parameters to reduce the complexity of StringOut calls and fix a warning in the MSVC build :-) svn path=/trunk/; revision=57076
This commit is contained in:
parent
f2f3bf80cc
commit
647486074a
7 changed files with 17 additions and 17 deletions
|
@ -60,7 +60,7 @@ wmain(int argc, wchar_t* argv[])
|
|||
|
||||
ss << "\n\nSystem uptime " << setprecision(2) << fixed ;
|
||||
ss << ((float)GetTickCount()/1000) << " seconds\n";
|
||||
StringOut(ss.str(), TRUE);
|
||||
StringOut(ss.str());
|
||||
|
||||
/* Run the tests */
|
||||
WineTest.Run();
|
||||
|
@ -76,7 +76,7 @@ wmain(int argc, wchar_t* argv[])
|
|||
}
|
||||
catch(CSimpleException& e)
|
||||
{
|
||||
StringOut(e.GetMessage(), TRUE);
|
||||
StringOut(e.GetMessage());
|
||||
}
|
||||
catch(CFatalException& e)
|
||||
{
|
||||
|
@ -87,7 +87,7 @@ wmain(int argc, wchar_t* argv[])
|
|||
<< "File: " << e.GetFile() << endl
|
||||
<< "Line: " << e.GetLine() << endl
|
||||
<< "Last Win32 Error: " << GetLastError() << endl;
|
||||
StringOut(ss.str(), TRUE);
|
||||
StringOut(ss.str());
|
||||
}
|
||||
|
||||
/* For sysreg2 to notice if rosautotest itself failed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue