diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2014-08-04 19:16:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2014-08-04 19:16:40 (GMT) |
commit | 7762fffa238a9bbc28658742792c25c10a7cc9c5 (patch) | |
tree | 0dffb920cf30e1c082a600b93fbcdb8ae0fc62fc /Source/CTest/cmCTestConfigureHandler.cxx | |
parent | ba60ff99ed2ea35f8b8c24bc566b6f60d51fce53 (diff) | |
download | CMake-7762fffa238a9bbc28658742792c25c10a7cc9c5.zip CMake-7762fffa238a9bbc28658742792c25c10a7cc9c5.tar.gz CMake-7762fffa238a9bbc28658742792c25c10a7cc9c5.tar.bz2 |
Change output to be a reference and not a pointer.
This avoids having to check the pointer value at each use which
was not being done.
Diffstat (limited to 'Source/CTest/cmCTestConfigureHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestConfigureHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestConfigureHandler.cxx b/Source/CTest/cmCTestConfigureHandler.cxx index a6e39a4..c492bf0 100644 --- a/Source/CTest/cmCTestConfigureHandler.cxx +++ b/Source/CTest/cmCTestConfigureHandler.cxx @@ -77,7 +77,7 @@ int cmCTestConfigureHandler::ProcessHandler() this->StartLogFile("Configure", ofs); cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "Configure with command: " << cCommand << std::endl); - res = this->CTest->RunMakeCommand(cCommand.c_str(), &output, + res = this->CTest->RunMakeCommand(cCommand.c_str(), output, &retVal, buildDirectory.c_str(), 0, ofs); |