about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix')
-rw-r--r--third_party/nix/src/libexpr/symbol-table.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/symbol-table.hh b/third_party/nix/src/libexpr/symbol-table.hh
index df696c9e1ac8..c4c1163bed15 100644
--- a/third_party/nix/src/libexpr/symbol-table.hh
+++ b/third_party/nix/src/libexpr/symbol-table.hh
@@ -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; }