File tree Expand file tree Collapse file tree 5 files changed +180
-205
lines changed Expand file tree Collapse file tree 5 files changed +180
-205
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ enum class Episode
30
30
31
31
struct ReviewInput
32
32
{
33
- int stars;
34
- std::optional<std::string> commentary;
33
+ int stars {} ;
34
+ std::optional<std::string> commentary {} ;
35
35
};
36
36
37
37
namespace object {
Original file line number Diff line number Diff line change @@ -31,33 +31,33 @@ enum class TaskState
31
31
32
32
struct CompleteTaskInput
33
33
{
34
- response::IdType id;
35
- std::optional<TaskState> testTaskState;
36
- std::optional<bool > isComplete;
37
- std::optional<std::string> clientMutationId;
34
+ response::IdType id {} ;
35
+ std::optional<TaskState> testTaskState {} ;
36
+ std::optional<bool > isComplete {} ;
37
+ std::optional<std::string> clientMutationId {} ;
38
38
};
39
39
40
40
struct ThirdNestedInput
41
41
{
42
- response::IdType id;
42
+ response::IdType id {} ;
43
43
};
44
44
45
45
struct FourthNestedInput
46
46
{
47
- response::IdType id;
47
+ response::IdType id {} ;
48
48
};
49
49
50
50
struct SecondNestedInput
51
51
{
52
- response::IdType id;
53
- ThirdNestedInput third;
52
+ response::IdType id {} ;
53
+ ThirdNestedInput third {} ;
54
54
};
55
55
56
56
struct FirstNestedInput
57
57
{
58
- response::IdType id;
59
- SecondNestedInput second;
60
- ThirdNestedInput third;
58
+ response::IdType id {} ;
59
+ SecondNestedInput second {} ;
60
+ ThirdNestedInput third {} ;
61
61
};
62
62
63
63
namespace object {
Original file line number Diff line number Diff line change @@ -31,33 +31,33 @@ enum class TaskState
31
31
32
32
struct CompleteTaskInput
33
33
{
34
- response::IdType id;
35
- std::optional<TaskState> testTaskState;
36
- std::optional<bool > isComplete;
37
- std::optional<std::string> clientMutationId;
34
+ response::IdType id {} ;
35
+ std::optional<TaskState> testTaskState {} ;
36
+ std::optional<bool > isComplete {} ;
37
+ std::optional<std::string> clientMutationId {} ;
38
38
};
39
39
40
40
struct ThirdNestedInput
41
41
{
42
- response::IdType id;
42
+ response::IdType id {} ;
43
43
};
44
44
45
45
struct FourthNestedInput
46
46
{
47
- response::IdType id;
47
+ response::IdType id {} ;
48
48
};
49
49
50
50
struct SecondNestedInput
51
51
{
52
- response::IdType id;
53
- ThirdNestedInput third;
52
+ response::IdType id {} ;
53
+ ThirdNestedInput third {} ;
54
54
};
55
55
56
56
struct FirstNestedInput
57
57
{
58
- response::IdType id;
59
- SecondNestedInput second;
60
- ThirdNestedInput third;
58
+ response::IdType id {} ;
59
+ SecondNestedInput second {} ;
60
+ ThirdNestedInput third {} ;
61
61
};
62
62
63
63
namespace object {
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ enum class CatCommand
35
35
36
36
struct ComplexInput
37
37
{
38
- std::optional<std::string> name;
39
- std::optional<std::string> owner;
38
+ std::optional<std::string> name {} ;
39
+ std::optional<std::string> owner {} ;
40
40
};
41
41
42
42
namespace object {
You can’t perform that action at this time.
0 commit comments