Skip to content

Commit

Permalink
Fix invalid operator< for Selector_List (#2858)
Browse files Browse the repository at this point in the history
Fixes #2819
  • Loading branch information
glebm authored and xzyfer committed Apr 5, 2019
1 parent 69ae7ef commit d382603
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ast_sel_cmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ namespace Sass {
if (length() < l) l = length();
for (size_t i = 0; i < l; i ++) {
if (*at(i) < *rhs.at(i)) return true;
if (*at(i) != *rhs.at(i)) return false;
}
return false;
}
Expand Down

0 comments on commit d382603

Please sign in to comment.