Skip to content

Commit ef95092

Browse files
author
jiyongdong
committed
fix: make brands with the highest score appears first in descending order
1 parent a2eac45 commit ef95092

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vmaware.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10906,7 +10906,7 @@ struct VM {
1090610906
const brand_element_t &a,
1090710907
const brand_element_t &b
1090810908
) {
10909-
return a.second < b.second;
10909+
return a.second > b.second;
1091010910
});
1091110911

1091210912
std::string ret_str = brands::NULL_BRAND;

0 commit comments

Comments
 (0)