Skip to content

Commit 2671b60

Browse files
committed
Fix clang-tidy issue
1 parent c5fb6db commit 2671b60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/pathmatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static bool match_one(const std::string &pattern, const std::string &path, const
240240
}
241241
}
242242

243-
if (b.size() != 0) {
243+
if (!b.empty()) {
244244
const auto &bp = b.top();
245245
b.pop();
246246
s.st = bp.first;

0 commit comments

Comments
 (0)