diff options
author | Bryon Bean <bryon.bean@kitware.com> | 2017-10-23 12:16:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-10 15:19:13 (GMT) |
commit | c13b68e61f3e89f9f52834c46a65fc7192ceb318 (patch) | |
tree | 2349fea567ae548bbd9796a36fcda47aafd101e6 /Source | |
parent | 4d6b09037d8c640763504ad1378d42b12ef975aa (diff) | |
download | CMake-c13b68e61f3e89f9f52834c46a65fc7192ceb318.zip CMake-c13b68e61f3e89f9f52834c46a65fc7192ceb318.tar.gz CMake-c13b68e61f3e89f9f52834c46a65fc7192ceb318.tar.bz2 |
cmCTestRunTest: Modernize constructor and destructor decls
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 4 | ||||
-rw-r--r-- | Source/CTest/cmCTestRunTest.h | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index 72a9d34..904f148 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -38,10 +38,6 @@ cmCTestRunTest::cmCTestRunTest(cmCTestTestHandler* handler) this->RunAgain = false; // default to not having to run again } -cmCTestRunTest::~cmCTestRunTest() -{ -} - bool cmCTestRunTest::CheckOutput() { // Read lines for up to 0.1 seconds of total time. diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h index 95b3e41..bde93da 100644 --- a/Source/CTest/cmCTestRunTest.h +++ b/Source/CTest/cmCTestRunTest.h @@ -24,8 +24,9 @@ class cmProcess; class cmCTestRunTest { public: - cmCTestRunTest(cmCTestTestHandler* handler); - ~cmCTestRunTest(); + explicit cmCTestRunTest(cmCTestTestHandler* handler); + + ~cmCTestRunTest() = default; void SetNumberOfRuns(int n) { this->NumberOfRunsLeft = n; } void SetRunUntilFailOn() { this->RunUntilFail = true; } |