[clang-tidy] Replace size comparisons with empty

Found with readability-container-size-empty

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-11-18 16:56:46 -08:00
committed by ridiculousfish
parent 5ca80a61e3
commit 7f62e30731
10 changed files with 17 additions and 17 deletions

View File

@@ -272,7 +272,7 @@ static void print_profile(const std::vector<std::unique_ptr<profile_item_t>> &it
my_time -= prev->parse + prev->exec;
}
if (me->cmd.size() == 0) {
if (me->cmd.empty()) {
continue;
}