The second parameter of hash_set is the default, remove it.
authorChris Lattner <sabre@nondot.org>
Fri, 9 Aug 2002 19:40:42 +0000 (19:40 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 Aug 2002 19:40:42 +0000 (19:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3273 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure.h
include/llvm/Analysis/DataStructure/DataStructure.h

index 54ea1f9d060e1349e263acc7c6d56bceb5e0dbec..cabefb95d51616811712ad60bf1fd160809af3f3 100644 (file)
@@ -356,8 +356,8 @@ private:
 // Cast nodes, and Calls.  This graph can only be used by one of the
 // individual function graphs, and it goes away when they all go away.
 // 
-class GlobalDSGraph: public DSGraph {
-  hash_set<const DSGraph*, hash<const DSGraph*> > Referrers;
+class GlobalDSGraph : public DSGraph {
+  hash_set<const DSGraph*> Referrers;
   void addReference(const DSGraph* referrer);
   void removeReference(const DSGraph* referrer);
   friend class DSGraph;                           // give access to Referrers
index 54ea1f9d060e1349e263acc7c6d56bceb5e0dbec..cabefb95d51616811712ad60bf1fd160809af3f3 100644 (file)
@@ -356,8 +356,8 @@ private:
 // Cast nodes, and Calls.  This graph can only be used by one of the
 // individual function graphs, and it goes away when they all go away.
 // 
-class GlobalDSGraph: public DSGraph {
-  hash_set<const DSGraph*, hash<const DSGraph*> > Referrers;
+class GlobalDSGraph : public DSGraph {
+  hash_set<const DSGraph*> Referrers;
   void addReference(const DSGraph* referrer);
   void removeReference(const DSGraph* referrer);
   friend class DSGraph;                           // give access to Referrers