File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
535
535
{
536
536
if (!value.maybe_enum ())
537
537
{
538
- throw std::logic_error { R"ex( not a valid TaskState value)ex" };
538
+ throw std::logic_error { R"ex( not a valid TaskState value)ex" };
539
539
}
540
540
541
541
const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@@ -544,7 +544,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
544
544
545
545
if (!result)
546
546
{
547
- throw std::logic_error { { R"ex( not a valid TaskState value)ex" } };
547
+ throw std::logic_error { R"ex( not a valid TaskState value)ex" };
548
548
}
549
549
550
550
return *result;
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
147
147
{
148
148
if (!value.maybe_enum ())
149
149
{
150
- throw std::logic_error { R"ex( not a valid TaskState value)ex" };
150
+ throw std::logic_error { R"ex( not a valid TaskState value)ex" };
151
151
}
152
152
153
153
const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@@ -156,7 +156,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
156
156
157
157
if (!result)
158
158
{
159
- throw std::logic_error { { R"ex( not a valid TaskState value)ex" } };
159
+ throw std::logic_error { R"ex( not a valid TaskState value)ex" };
160
160
}
161
161
162
162
return *result;
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
125
125
{
126
126
if (!value.maybe_enum ())
127
127
{
128
- throw std::logic_error { R"ex( not a valid TaskState value)ex" };
128
+ throw std::logic_error { R"ex( not a valid TaskState value)ex" };
129
129
}
130
130
131
131
const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@@ -134,7 +134,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
134
134
135
135
if (!result)
136
136
{
137
- throw std::logic_error { { R"ex( not a valid TaskState value)ex" } };
137
+ throw std::logic_error { R"ex( not a valid TaskState value)ex" };
138
138
}
139
139
140
140
return *result;
Original file line number Diff line number Diff line change @@ -908,7 +908,7 @@ response::Value ModifiedVariable<)cpp"
908
908
{
909
909
if (!value.maybe_enum())
910
910
{
911
- throw std::logic_error { R"ex(not a valid )cpp"
911
+ throw std::logic_error { R"ex(not a valid )cpp"
912
912
<< enumType->name () << R"cpp( value)ex" };
913
913
}
914
914
@@ -919,8 +919,8 @@ response::Value ModifiedVariable<)cpp"
919
919
920
920
if (!result)
921
921
{
922
- throw std::logic_error { { R"ex(not a valid )cpp"
923
- << enumType->name () << R"cpp( value)ex" } } ;
922
+ throw std::logic_error { R"ex(not a valid )cpp"
923
+ << enumType->name () << R"cpp( value)ex" };
924
924
}
925
925
926
926
return *result;
You can’t perform that action at this time.
0 commit comments