This commit is contained in:
Bill Avery 2022-05-10 14:03:36 -07:00
Родитель b07860d5bf
Коммит a929795c6f
4 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -535,7 +535,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
{
if (!value.maybe_enum())
{
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
}
const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@ -544,7 +544,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
if (!result)
{
throw std::logic_error { { R"ex(not a valid TaskState value)ex" } };
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
}
return *result;

Просмотреть файл

@ -147,7 +147,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
{
if (!value.maybe_enum())
{
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
}
const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@ -156,7 +156,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
if (!result)
{
throw std::logic_error { { R"ex(not a valid TaskState value)ex" } };
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
}
return *result;

Просмотреть файл

@ -125,7 +125,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
{
if (!value.maybe_enum())
{
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
}
const auto result = internal::sorted_map_lookup<internal::shorter_or_less>(
@ -134,7 +134,7 @@ TaskState ModifiedResponse<TaskState>::parse(response::Value&& value)
if (!result)
{
throw std::logic_error { { R"ex(not a valid TaskState value)ex" } };
throw std::logic_error { R"ex(not a valid TaskState value)ex" };
}
return *result;

Просмотреть файл

@ -908,7 +908,7 @@ response::Value ModifiedVariable<)cpp"
{
if (!value.maybe_enum())
{
throw std::logic_error { R"ex(not a valid )cpp"
throw std::logic_error { R"ex(not a valid )cpp"
<< enumType->name() << R"cpp( value)ex" };
}
@ -919,8 +919,8 @@ response::Value ModifiedVariable<)cpp"
if (!result)
{
throw std::logic_error { { R"ex(not a valid )cpp"
<< enumType->name() << R"cpp( value)ex" } };
throw std::logic_error { R"ex(not a valid )cpp"
<< enumType->name() << R"cpp( value)ex" };
}
return *result;