summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testCommandLineArguments1.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-13 18:55:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-05-13 18:55:35 (GMT)
commit7fa16df4d7ce963dda98a6c5d54f528db7a29037 (patch)
tree3ed99c648b9c58251a0773356ed646905b23de1b /Source/kwsys/testCommandLineArguments1.cxx
parent96e9eb1766261605ebc97009d6ace20214eaa9a4 (diff)
parent7762c57405d3b0daefc484a5e07bc24e04701615 (diff)
downloadCMake-7fa16df4d7ce963dda98a6c5d54f528db7a29037.zip
CMake-7fa16df4d7ce963dda98a6c5d54f528db7a29037.tar.gz
CMake-7fa16df4d7ce963dda98a6c5d54f528db7a29037.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/testCommandLineArguments1.cxx')
-rw-r--r--Source/kwsys/testCommandLineArguments1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/testCommandLineArguments1.cxx b/Source/kwsys/testCommandLineArguments1.cxx
index 0860c2a..3b84c38 100644
--- a/Source/kwsys/testCommandLineArguments1.cxx
+++ b/Source/kwsys/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;