]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
More updates for "using namespace std;" removal
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 4 Feb 2020 12:29:46 +0000 (12:29 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 11 Feb 2020 19:33:28 +0000 (19:33 +0000)
overlooked in 155eacb6

inilintmain.cc

index 33239fb34f98618714436afbab20161989636cdb..a4c4cb1683434f5e5cc28eacc1dd0b062cc5e7ed 100644 (file)
@@ -27,8 +27,8 @@ yyerror (const std::string& s)
 {
   std::ostringstream buf;
   buf << "setup.ini line " << yylineno << ": ";
-  buf << s << endl;
-  cout << buf;
+  buf << s << std::endl;
+  std::cout << buf;
   error_buf << buf; 
   error_count++;
   /* TODO: is return 0 correct? */
@@ -38,8 +38,8 @@ yyerror (const std::string& s)
 void
 show_help()
 {
-  cout << "inilint checks cygwin setup.ini files and reports any errors with" << endl;
-  cout << "diagnostics" << endl;
+  std::cout << "inilint checks cygwin setup.ini files and reports any errors with" << std::endl;
+  std::cout << "diagnostics" << std::endl;
 }
 
 int
This page took 0.031139 seconds and 5 git commands to generate.