summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/IR/ValueHandle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/ValueHandle.h b/llvm/include/llvm/IR/ValueHandle.h
index 78762846cda..11ac2a8608d 100644
--- a/llvm/include/llvm/IR/ValueHandle.h
+++ b/llvm/include/llvm/IR/ValueHandle.h
@@ -264,9 +264,8 @@ public:
#else
AssertingVH() : ThePtr(nullptr) {}
AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
-#endif
-
AssertingVH(const AssertingVH<ValueTy> &) = default;
+#endif
operator ValueTy*() const {
return getValPtr();
OpenPOWER on IntegriCloud