Skip to content

Commit 59d9ba3

Browse files
authored
testrunner: removed unnecessary default constructors from test options (#7889)
1 parent 50357c3 commit 59d9ba3

28 files changed

+0
-34
lines changed

test/testautovariables.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class TestAutoVariables : public TestFixture {
3434

3535
struct CheckOptions
3636
{
37-
CheckOptions() = default;
3837
bool inconclusive = true;
3938
bool cpp = true;
4039
};

test/testbool.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ class TestBool : public TestFixture {
7878

7979
struct CheckOptions
8080
{
81-
CheckOptions() = default;
8281
bool cpp = true;
8382
};
8483

test/testbufferoverrun.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class TestBufferOverrun : public TestFixture {
3939

4040
struct CheckOptions
4141
{
42-
CheckOptions() = default;
4342
const Settings* s = nullptr;
4443
bool cpp = true;
4544
};

test/testclass.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,6 @@ class TestClass : public TestFixture {
26332633

26342634
struct CheckVirtualDestructorOptions
26352635
{
2636-
CheckVirtualDestructorOptions() = default;
26372636
bool inconclusive = false;
26382637
};
26392638

@@ -3656,7 +3655,6 @@ class TestClass : public TestFixture {
36563655

36573656
struct CheckConstOptions
36583657
{
3659-
CheckConstOptions() = default;
36603658
const Settings *s = nullptr;
36613659
bool inconclusive = true;
36623660
};

test/testcondition.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ class TestCondition : public TestFixture {
130130

131131
struct CheckOptions
132132
{
133-
CheckOptions() = default;
134133
const Settings* s = nullptr;
135134
bool cpp = true;
136135
bool inconclusive = false;

test/testconstructors.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class TestConstructors : public TestFixture {
3434

3535
struct CheckOptions
3636
{
37-
CheckOptions() = default;
3837
bool inconclusive = false;
3938
const Settings* s = nullptr;
4039
};

test/testexceptionsafety.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ class TestExceptionSafety : public TestFixture {
6161

6262
struct CheckOptions
6363
{
64-
CheckOptions() = default;
6564
bool inconclusive = false;
6665
const Settings *s = nullptr;
6766
};

test/testfunctions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ class TestFunctions : public TestFixture {
116116

117117
struct CheckOptions
118118
{
119-
CheckOptions() = default;
120119
bool cpp = true;
121120
const Settings* s = nullptr;
122121
};

test/testincompletestatement.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class TestIncompleteStatement : public TestFixture {
3434

3535
struct CheckOptions
3636
{
37-
CheckOptions() = default;
3837
bool inconclusive = false;
3938
bool cpp = true;
4039
};

test/testio.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class TestIO : public TestFixture {
8686

8787
struct CheckOptions
8888
{
89-
CheckOptions() = default;
9089
bool inconclusive = false;
9190
bool portability = false;
9291
Platform::Type platform = Platform::Type::Unspecified;

0 commit comments

Comments
 (0)