summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-29 17:41:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-29 17:47:23 (GMT)
commit0187e522448c8fe92c15d4a983afac36950d1d59 (patch)
tree5e82693fa85bd5af24b49fa8a46cb2f5af05e1e5 /Source/CTest/cmCTestRunTest.h
parent1fb483922557003aedf59b01742928543977e013 (diff)
downloadCMake-0187e522448c8fe92c15d4a983afac36950d1d59.zip
CMake-0187e522448c8fe92c15d4a983afac36950d1d59.tar.gz
CMake-0187e522448c8fe92c15d4a983afac36950d1d59.tar.bz2
cmCTestRunTest: Use inline member initializers
Diffstat (limited to 'Source/CTest/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index 085a6b8..7b202d1 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -129,9 +129,9 @@ private:
std::vector<std::map<
std::string, std::vector<cmCTestMultiProcessHandler::HardwareAllocation>>>
AllocatedHardware;
- bool RunUntilFail;
- int NumberOfRunsLeft;
- bool RunAgain;
+ bool RunUntilFail = false; // default to run the test once
+ int NumberOfRunsLeft = 1; // default to 1 run of the test
+ bool RunAgain = false; // default to not having to run again
size_t TotalNumberOfTests;
};