[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 5 00:13:01 PST 2003


Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:

Graph.h updated: 1.10 -> 1.11

---
Log message:

Be gcc 3.4 clean


---
Diffs of the changes:  (+3 -1)

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h:1.10 llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h:1.11
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h:1.10	Tue Oct 21 10:17:13 2003
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.h	Wed Nov  5 00:12:18 2003
@@ -114,12 +114,14 @@
 
 
 namespace std {
+  template<>
   struct less<Node *> : public binary_function<Node *, Node *,bool> {
     bool operator()(Node *n1, Node *n2) const {
       return n1->getElement() < n2->getElement();
     }
   };
-
+ 
+  template<>
   struct less<Edge> : public binary_function<Edge,Edge,bool> {
     bool operator()(Edge e1, Edge e2) const {
       assert(!e1.isNull() && !e2.isNull());





More information about the llvm-commits mailing list