Skip to content

Commit

Permalink
fix comparison warning for type bool
Browse files Browse the repository at this point in the history
  • Loading branch information
huangqinjin committed Aug 3, 2020
1 parent 40abd7c commit 1baf047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attribute_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ std::size_t attribute_set::foreach(key_t (min), key_t (max), bool include_min, b
auto& p = *iter;
key_t key1 = name{}(p);

if (key1.compare((max)) >= include_max)
if (key1.compare((max)) >= (int)include_max)
break;

key.assign(key1);
Expand Down

0 comments on commit 1baf047

Please sign in to comment.