Skip to content

Commit 709a702

Browse files
committed
refactor: avoid warning about sign
1 parent b0ff0aa commit 709a702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/cppfront.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ class cppfront
18561856
auto is_dependent(const qualified_id_node& n, bool exclude_last = false)
18571857
-> bool
18581858
{
1859-
assert(n.ids.size() > int{exclude_last});
1859+
assert(n.ids.size() > cpp2::u32{exclude_last});
18601860
return is_dependent(*n.ids[0].id, true, true)
18611861
|| std::any_of(n.ids.begin() + 1, n.ids.end() - int{exclude_last}, [&](auto& id) {
18621862
return is_dependent(*id.id, true, false);

0 commit comments

Comments
 (0)