mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-20 14:11:14 -03:00
[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:
committed by
ridiculousfish
parent
5ca80a61e3
commit
7f62e30731
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user