aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/IntervalMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/IntervalMap.h b/include/llvm/ADT/IntervalMap.h
index 3f71e721f7..ccc33327ff 100644
--- a/include/llvm/ADT/IntervalMap.h
+++ b/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);