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: