[llvm-commits] [llvm] r119884 - /llvm/trunk/include/llvm/ADT/IntervalMap.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Nov 19 17:24:43 PST 2010


Author: stoklund
Date: Fri Nov 19 19:24:43 2010
New Revision: 119884

URL: http://llvm.org/viewvc/llvm-project?rev=119884&view=rev
Log:
Fix old GCC build error.

Modified:
    llvm/trunk/include/llvm/ADT/IntervalMap.h

Modified: llvm/trunk/include/llvm/ADT/IntervalMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/IntervalMap.h?rev=119884&r1=119883&r2=119884&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/IntervalMap.h (original)
+++ llvm/trunk/include/llvm/ADT/IntervalMap.h Fri Nov 19 19:24:43 2010
@@ -1141,7 +1141,7 @@
 
   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);





More information about the llvm-commits mailing list