cmCTestRunTest: Modernize constructor and destructor decls

This commit is contained in:
Bryon Bean
2017-10-23 08:16:45 -04:00
committed by Brad King
parent 4d6b09037d
commit c13b68e61f
2 changed files with 3 additions and 6 deletions

View File

@@ -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.

View File

@@ -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; }