Skip to content

Commit

Permalink
Fix typo in lexy::input_location comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
foonathan committed May 3, 2024
1 parent 0017631 commit e8eb4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lexy/input_location.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class input_location
{
if (lhs._line_nr != rhs._line_nr)
return lhs._line_nr < rhs._line_nr;
return lhs._column_nr < rhs._colum_nr;
return lhs._column_nr < rhs._column_nr;
}
friend constexpr bool operator<=(const input_location& lhs, const input_location& rhs)
{
Expand Down

0 comments on commit e8eb4d6

Please sign in to comment.