diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index 6619f0a71eb..f87eeaf2b5d 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -422,7 +422,7 @@ public: // erase - remove a node from the controlled sequence... and delete it. iterator erase(iterator where) { - deleteNode(remove(where)); + this->deleteNode(remove(where)); return where; }