提交 5073f7cc authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

make tidy

上级 b2db0852
...@@ -301,7 +301,7 @@ namespace RTC ...@@ -301,7 +301,7 @@ namespace RTC
if (jsonPriorityIt == request->data.end() || !jsonPriorityIt->is_number()) if (jsonPriorityIt == request->data.end() || !jsonPriorityIt->is_number())
MS_THROW_TYPE_ERROR("wrong priority (not a number)"); MS_THROW_TYPE_ERROR("wrong priority (not a number)");
uint8_t priority = jsonPriorityIt->get<uint8_t>(); auto priority = jsonPriorityIt->get<uint8_t>();
if (priority < 1u) if (priority < 1u)
MS_THROW_TYPE_ERROR("wrong priority (must be higher than 0)"); MS_THROW_TYPE_ERROR("wrong priority (must be higher than 0)");
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论