summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testCommandLineArguments1.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-14 17:58:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-14 17:58:32 (GMT)
commit07163ca0701485785372c07d53c76dc7f52765b1 (patch)
tree5b7d5ecfa89a74a49e16a790254bb645ef3b64d0 /Source/kwsys/testCommandLineArguments1.cxx
parent2e347eb1837d85c0323b51322f267e69a7bd680f (diff)
parent7fa16df4d7ce963dda98a6c5d54f528db7a29037 (diff)
downloadCMake-07163ca0701485785372c07d53c76dc7f52765b1.zip
CMake-07163ca0701485785372c07d53c76dc7f52765b1.tar.gz
CMake-07163ca0701485785372c07d53c76dc7f52765b1.tar.bz2
Merge topic 'update-kwsys'
7fa16df4 Merge branch 'upstream-kwsys' into update-kwsys 7762c574 KWSys 2014-05-07 (6074f33f)
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;