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