mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[IR] Add a default copy constructor for -Wdeprecated-copy
This commit is contained in:
parent
9609ff5a8c
commit
dd7e53f957
@ -266,6 +266,8 @@ public:
|
||||
AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
|
||||
#endif
|
||||
|
||||
AssertingVH(const AssertingVH<ValueTy> &) = default;
|
||||
|
||||
operator ValueTy*() const {
|
||||
return getValPtr();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user