diff options
author | Brad King <brad.king@kitware.com> | 2004-01-21 19:43:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-01-21 19:43:25 (GMT) |
commit | ba9687d5cb8998bfd8094ad2e1de42b9851819c9 (patch) | |
tree | f9bc398f0038058b04c4670637198a30fc4bd842 /Source/cmCTest.cxx | |
parent | d72f5a0be0c5e73904ccc48473b56d214e31d4dd (diff) | |
download | CMake-ba9687d5cb8998bfd8094ad2e1de42b9851819c9.zip CMake-ba9687d5cb8998bfd8094ad2e1de42b9851819c9.tar.gz CMake-ba9687d5cb8998bfd8094ad2e1de42b9851819c9.tar.bz2 |
BUG: empty method on std string is a test, and does not set the string to empty.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 7be1d4c..7c53378 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -3077,7 +3077,7 @@ int cmCTest::RunConfigurationScript() std::string fullCommand = command; fullCommand += " update "; fullCommand += cvsArgs[1]; - output.empty(); + output = ""; retVal = 0; res = cmSystemTools::RunSingleCommand(fullCommand.c_str(), &output, &retVal, cvsArgs[0].c_str(), @@ -3121,7 +3121,7 @@ int cmCTest::RunConfigurationScript() command = cmakeCmd; command += " \""; command += srcDir; - output.empty(); + output = ""; command += "\""; retVal = 0; res = cmSystemTools::RunSingleCommand(command.c_str(), &output, @@ -3136,7 +3136,7 @@ int cmCTest::RunConfigurationScript() // run ctest command = ctestCmd; - output.empty(); + output = ""; retVal = 0; res = cmSystemTools::RunSingleCommand(command.c_str(), &output, &retVal, binDir, |