RHS of assignment should be const reference.

llvm-svn: 82331
This commit is contained in:
Daniel Dunbar 2009-09-19 20:39:50 +00:00
parent 1303c0ab86
commit 86f158ccb6
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}