From: Lang Hames Date: Thu, 16 May 2013 02:20:41 +0000 (+0000) Subject: Fix PBQP graph iterator typedefs. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8c0f4fc8bef574f4dbe48351a83de2fb0a4cfeca;p=oota-llvm.git Fix PBQP graph iterator typedefs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181973 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/PBQP/Graph.h b/include/llvm/CodeGen/PBQP/Graph.h index 85bf511d602..b57abcadac4 100644 --- a/include/llvm/CodeGen/PBQP/Graph.h +++ b/include/llvm/CodeGen/PBQP/Graph.h @@ -37,11 +37,11 @@ namespace PBQP { public: - typedef NodeEntry* NodeItr; - typedef const NodeEntry* ConstNodeItr; + typedef NodeList::iterator NodeItr; + typedef NodeList::const_iterator ConstNodeItr; - typedef EdgeEntry* EdgeItr; - typedef const EdgeEntry* ConstEdgeItr; + typedef EdgeList::iterator EdgeItr; + typedef EdgeList::const_iterator ConstEdgeItr; private: