From 184087cef1b41679305db3e0b7f42fdadd318b2d Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 13 Sep 2004 18:57:28 -0400 Subject: [PATCH] ERR: Fix IOS namespace --- Source/kwsys/CommandLineArguments.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index 054956f6c..a85902c3d 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx @@ -259,7 +259,7 @@ int CommandLineArguments::Parse() } else { - cerr << "Got unknown argument type: \"" << cs->VariableType << "\"" << endl; + kwsys_ios::cerr << "Got unknown argument type: \"" << cs->VariableType << "\"" << kwsys_ios::endl; return 0; } } @@ -278,7 +278,7 @@ int CommandLineArguments::Parse() } else { - cerr << "Got unknown argument: \"" << arg.c_str() << "\"" << endl; + kwsys_ios::cerr << "Got unknown argument: \"" << arg.c_str() << "\"" << kwsys_ios::endl; return 0; } } @@ -523,7 +523,7 @@ void CommandLineArguments::GenerateHelp() CommandLineArguments::Internal::SetOfStrings::iterator sit; for ( sit = mpit->second.begin(); sit != mpit->second.end(); sit++ ) { - str << endl; + str << kwsys_ios::endl; char argument[100]; sprintf(argument, sit->c_str()); switch ( this->Internals->Callbacks[*sit].ArgumentType ) @@ -579,7 +579,7 @@ void CommandLineArguments::GenerateHelp() } } str.write(ptr, skip); - str << endl; + str << kwsys_ios::endl; ptr += skip; len -= skip; cnt ++;