fix(3p/nix/libexpr): Ensure symbols are compared by value

This commit is contained in:
Vincent Ambo 2020-05-23 06:16:48 +01:00
parent 85a05a6f38
commit 811c42d255

View file

@ -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; }