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)
535535{
536536 if (!value.maybe_enum ())
537537 {
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" };
539539 }
540540
541541 const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@@ -544,7 +544,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
544544
545545 if (!result)
546546 {
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" };
548548 }
549549
550550 return *result;
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
147147{
148148 if (!value.maybe_enum ())
149149 {
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" };
151151 }
152152
153153 const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@@ -156,7 +156,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
156156
157157 if (!result)
158158 {
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" };
160160 }
161161
162162 return *result;
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
125125{
126126 if (!value.maybe_enum ())
127127 {
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" };
129129 }
130130
131131 const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@@ -134,7 +134,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
134134
135135 if (!result)
136136 {
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" };
138138 }
139139
140140 return *result;
Original file line number Diff line number Diff line change @@ -908,7 +908,7 @@ response::Value ModifiedVariable<)cpp"
908908{
909909 if (!value.maybe_enum())
910910 {
911- throw std::logic_error { R"ex(not a valid )cpp"
911+ throw std::logic_error { R"ex(not a valid )cpp"
912912 << enumType->name () << R"cpp( value)ex" };
913913 }
914914
@@ -919,8 +919,8 @@ response::Value ModifiedVariable<)cpp"
919919
920920 if (!result)
921921 {
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" };
924924 }
925925
926926 return *result;
You can’t perform that action at this time.
0 commit comments