diff --git a/include/llvm/ADT/IntervalMap.h b/include/llvm/ADT/IntervalMap.h index 3f71e721f71..ccc33327ffb 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(); + return path.back().first.template get(); } unsigned treeLeafSize() const { assert(branched() && path.size() == map->height);