summaryrefslogtreecommitdiffstats
path: root/testCommandLineArguments1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'testCommandLineArguments1.cxx')
-rw-r--r--testCommandLineArguments1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/testCommandLineArguments1.cxx b/testCommandLineArguments1.cxx
index 0860c2a..3b84c38 100644
--- a/testCommandLineArguments1.cxx
+++ b/testCommandLineArguments1.cxx
@@ -57,12 +57,12 @@ int testCommandLineArguments1(int argc, char* argv[])
}
if ( p != "1" )
{
- kwsys_ios::cout << "Problem setting P. Value of P: " << p.c_str() << kwsys_ios::endl;
+ kwsys_ios::cout << "Problem setting P. Value of P: " << p << kwsys_ios::endl;
res = 1;
}
kwsys_ios::cout << "Value of N: " << n << kwsys_ios::endl;
kwsys_ios::cout << "Value of M: " << m << kwsys_ios::endl;
- kwsys_ios::cout << "Value of P: " << p.c_str() << kwsys_ios::endl;
+ kwsys_ios::cout << "Value of P: " << p << kwsys_ios::endl;
if ( m )
{
delete [] m;