From 8c0f4fc8bef574f4dbe48351a83de2fb0a4cfeca Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Thu, 16 May 2013 02:20:41 +0000 Subject: [PATCH] Fix PBQP graph iterator typedefs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181973 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/PBQP/Graph.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: