diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:10:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:10:17 +0000 |
commit | c285da73a4df1ad74dfc842ab871f7e14398d5ac (patch) | |
tree | 5c792f14df0ae131f1b4a6638dc84bd8255f7975 | |
parent | 745feacfd6eae7b4080d12bd739b0aec7dd14a96 (diff) | |
download | external_llvm-c285da73a4df1ad74dfc842ab871f7e14398d5ac.zip external_llvm-c285da73a4df1ad74dfc842ab871f7e14398d5ac.tar.gz external_llvm-c285da73a4df1ad74dfc842ab871f7e14398d5ac.tar.bz2 |
Silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14019 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/Support/ilist | 2 | ||||
-rw-r--r-- | 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_iterator> const_reverse_iterator; typedef std::reverse_iterator<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_iterator> const_reverse_iterator; typedef std::reverse_iterator<iterator> reverse_iterator; - iplist() : Head(this->createNode()), Tail(Head) { + iplist() : Head(Traits::createNode()), Tail(Head) { setNext(Head, 0); setPrev(Head, 0); } |