style: format

This commit is contained in:
zzyyyl
2022-10-02 20:27:09 +08:00
parent 369c4fc35e
commit 607bc8f544
2 changed files with 2 additions and 2 deletions

View File

@@ -328,7 +328,7 @@ bool asst::TaskData::syntax_check(std::string_view task_name, const json::value&
Log.error(task_name, "has unknown action:", algorithm_str);
validity = false;
}
std::unordered_set<std::string> allowed_key {};
if (allowed_key_under_algorithm.contains(algorithm)) {
decltype(allowed_key) tmp = allowed_key_under_algorithm.at(algorithm);