Kaydet (Commit) d60759a9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: I6f18ab4dc082e30e51b4c0020dff4ff098275b60
üst 3107156f
...@@ -122,7 +122,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { ...@@ -122,7 +122,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
{ {
HelpParser aParser( aArgs.m_sInputFile ); HelpParser aParser( aArgs.m_sInputFile );
hasNoError = hasNoError =
aParser.CreatePO( HelpParser::CreatePO(
aArgs.m_sOutputFile, aArgs.m_sInputFile, aArgs.m_sOutputFile, aArgs.m_sInputFile,
new XMLFile( OString('0') ), "help" ); new XMLFile( OString('0') ), "help" );
} }
......
...@@ -27,7 +27,7 @@ int main(int argc, char *argv[]) ...@@ -27,7 +27,7 @@ int main(int argc, char *argv[])
::exit(99); ::exit(99);
} }
// This call improves performance by approx 5x // This call improves performance by approx 5x
cin.sync_with_stdio(false); std::ios_base::sync_with_stdio(false);
const char * outputFile(argv[2]); const char * outputFile(argv[2]);
char inputBuffer[MAXLINE]; char inputBuffer[MAXLINE];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment