summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h b/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
index 365b972c0a0..2cbe2296855 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
@@ -89,7 +89,7 @@ public:
}
bool operator<(const SymbolStringPtr &Other) const {
- return S->getValue() < Other.S->getValue();
+ return S < Other.S;
}
StringRef operator*() const { return S->first(); }
OpenPOWER on IntegriCloud