summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/ADT/IntervalMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/IntervalMap.h b/llvm/include/llvm/ADT/IntervalMap.h
index 3f71e721f71..ccc33327ffb 100644
--- a/llvm/include/llvm/ADT/IntervalMap.h
+++ b/llvm/include/llvm/ADT/IntervalMap.h
@@ -1141,7 +1141,7 @@ protected:
Leaf &treeLeaf() const {
assert(branched() && path.size() == map->height);
- return path.back().first.get<Leaf>();
+ return path.back().first.template get<Leaf>();
}
unsigned treeLeafSize() const {
assert(branched() && path.size() == map->height);
OpenPOWER on IntegriCloud