[PATCH setup 1/7] More updates for "using namespace std;" removal
Jon Turney
jon.turney@dronecode.org.uk
Sat Feb 15 17:04:00 GMT 2020
overlooked in 155eacb6
---
inilintmain.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/inilintmain.cc b/inilintmain.cc
index 33239fb..a4c4cb1 100644
--- a/inilintmain.cc
+++ b/inilintmain.cc
@@ -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
--
2.21.0
More information about the Cygwin-apps
mailing list