update to clang-format-10

This commit is contained in:
Chao Liu
2021-07-30 16:37:00 -05:00
parent bd27ed6c38
commit 82fae390fb
10 changed files with 38 additions and 50 deletions

View File

@@ -145,9 +145,7 @@ void KernelCache::ClearKernels(const std::string& algorithm, const std::string&
}
const std::pair<std::string, std::string> key = std::make_pair(algorithm, network_config);
auto&& v = this->kernel_map[key];
if(!v.empty())
{
}
if(!v.empty()) {}
v.clear();
}