From c285da73a4df1ad74dfc842ab871f7e14398d5ac Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 4 Jun 2004 20:10:17 +0000 Subject: Silence a warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14019 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/ilist | 2 +- include/llvm/ADT/ilist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Support/ilist b/include/Support/ilist index 499c3e2..9d9fdf0 100644 --- a/include/Support/ilist +++ b/include/Support/ilist @@ -301,7 +301,7 @@ public: typedef std::reverse_iterator const_reverse_iterator; typedef std::reverse_iterator reverse_iterator; - iplist() : Head(this->createNode()), Tail(Head) { + iplist() : Head(Traits::createNode()), Tail(Head) { setNext(Head, 0); setPrev(Head, 0); } diff --git a/include/llvm/ADT/ilist b/include/llvm/ADT/ilist index 499c3e2..9d9fdf0 100644 --- a/include/llvm/ADT/ilist +++ b/include/llvm/ADT/ilist @@ -301,7 +301,7 @@ public: typedef std::reverse_iterator const_reverse_iterator; typedef std::reverse_iterator reverse_iterator; - iplist() : Head(this->createNode()), Tail(Head) { + iplist() : Head(Traits::createNode()), Tail(Head) { setNext(Head, 0); setPrev(Head, 0); } -- cgit v1.1