aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--symtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/symtab.h b/symtab.h
index 6ebe027..9d8a120 100644
--- a/symtab.h
+++ b/symtab.h
@@ -67,7 +67,7 @@ inline bool operator==(const Symbol& x, const Symbol& y) {
}
inline bool operator<(const Symbol& x, const Symbol& y) {
- return x.str() < y.str();
+ return x.val() < y.val();
}
namespace std {