forked from OSchip/llvm-project
RHS of assignment should be const reference.
llvm-svn: 82331
This commit is contained in:
parent
1303c0ab86
commit
86f158ccb6
|
@ -202,7 +202,7 @@ public:
|
|||
setValPtr(RHS);
|
||||
return getValPtr();
|
||||
}
|
||||
ValueTy *operator=(AssertingVH<ValueTy> &RHS) {
|
||||
ValueTy *operator=(const AssertingVH<ValueTy> &RHS) {
|
||||
setValPtr(RHS.getValPtr());
|
||||
return getValPtr();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue