diff options
-rw-r--r-- | include/llvm/Support/ValueHandle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h index e0e06e1..91e529e 100644 --- a/include/llvm/Support/ValueHandle.h +++ b/include/llvm/Support/ValueHandle.h @@ -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(); } |