summaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/ScopedHashTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ADT/ScopedHashTable.h')
-rw-r--r--include/llvm/ADT/ScopedHashTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/ScopedHashTable.h b/include/llvm/ADT/ScopedHashTable.h
index f325e2b..b5ca374a 100644
--- a/include/llvm/ADT/ScopedHashTable.h
+++ b/include/llvm/ADT/ScopedHashTable.h
@@ -139,7 +139,7 @@ public:
}
V lookup(const K &Key) {
- return TopLevelMap[Key].getValue();
+ return TopLevelMap[Key]->getValue();
}
void insert(const K &Key, const V &Val) {
OpenPOWER on IntegriCloud