cmCTestRunTest: Modernize constructor and destructor decls

This commit is contained in:
Bryon Bean authored and Brad King committed 2018-01-10 10:19:13 -05:00
1 parent 4d6b09037d
commit c13b68e61f
2 files changed
+3 -6

No files matched your search

-4
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.
+3 -2
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; }