OSDN Git Service

Fix old GCC build error.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 20 Nov 2010 01:24:43 +0000 (01:24 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 20 Nov 2010 01:24:43 +0000 (01:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119884 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/IntervalMap.h

index 3f71e72..ccc3332 100644 (file)
@@ -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);