summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-31 16:48:46 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-31 16:49:51 (GMT)
commit30983ebec1f242888560cff86e8789b3f02be056 (patch)
tree6d5bb33ef1199ed87e4ce58b08ee036ff2adfd89 /Source/CTest
parentb48211d4261840136e750d3d82f195ad48b17a8f (diff)
downloadCMake-30983ebec1f242888560cff86e8789b3f02be056.zip
CMake-30983ebec1f242888560cff86e8789b3f02be056.tar.gz
CMake-30983ebec1f242888560cff86e8789b3f02be056.tar.bz2
cmGlobalGenerator: Take Build output argument by reference
No call sites pass NULL to the output argument, so take it by reference to avoid the if(output) conditions. Propagate the change through the TryCompile APIs that call it.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index b4818be..627832c 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -301,7 +301,7 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
int retVal = cm.GetGlobalGenerator()->Build(
this->SourceDir, this->BinaryDir,
this->BuildProject, *tarIt,
- &output, this->BuildMakeProgram,
+ output, this->BuildMakeProgram,
config,
!this->BuildNoClean,
false, remainingTime);