From 20885de16a00606f4fbbf36d78421f93acd4b337 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 23 Aug 2016 15:38:59 +0000 Subject: [PATCH] Work around PR29097 to get the module bots going again. This replaces an =default constructor with an explicit definition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279522 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/ilist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index ef0d9f3b0d6..9ee5a283fed 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -171,7 +171,7 @@ public: typedef node_type &node_reference; private: - node_pointer NodePtr = nullptr; + node_pointer NodePtr; public: /// Create from an ilist_node. @@ -179,7 +179,7 @@ public: explicit ilist_iterator(pointer NP) : NodePtr(NP) {} explicit ilist_iterator(reference NR) : NodePtr(&NR) {} - ilist_iterator() = default; + ilist_iterator() : NodePtr(nullptr) {} // This is templated so that we can allow constructing a const iterator from // a nonconst iterator...