fix(3p/nix/libexpr): Ensure symbols are compared by value
This commit is contained in:
parent
85a05a6f38
commit
811c42d255
1 changed files with 1 additions and 1 deletions
2
third_party/nix/src/libexpr/symbol-table.hh
vendored
2
third_party/nix/src/libexpr/symbol-table.hh
vendored
|
@ -19,7 +19,7 @@ class Symbol {
|
|||
|
||||
bool operator!=(const Symbol& s2) const { return s != s2.s; }
|
||||
|
||||
bool operator<(const Symbol& s2) const { return s < s2.s; }
|
||||
bool operator<(const Symbol& s2) const { return *s < *s2.s; }
|
||||
|
||||
operator const std::string&() const { return *s; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue