diff --git a/uppsrc/ide/Debuggers/MIValue.cpp b/uppsrc/ide/Debuggers/MIValue.cpp index 9d9231a07..f4129f1c1 100644 --- a/uppsrc/ide/Debuggers/MIValue.cpp +++ b/uppsrc/ide/Debuggers/MIValue.cpp @@ -370,7 +370,7 @@ int MIValue::Parse(String const &s, int i) } } -MIValue const &MIValue::operator=(const MIValue &v) +MIValue const &MIValue::operator=(MIValue &v) { Clear(); type = v.type; @@ -396,7 +396,7 @@ MIValue::MIValue() Clear(); } -MIValue::MIValue(MIValue const &v) +MIValue::MIValue(MIValue &v) { Clear(); type = v.type; diff --git a/uppsrc/ide/Debuggers/MIValue.h b/uppsrc/ide/Debuggers/MIValue.h index d76aacca8..a254ff280 100644 --- a/uppsrc/ide/Debuggers/MIValue.h +++ b/uppsrc/ide/Debuggers/MIValue.h @@ -38,10 +38,10 @@ class MIValue : public Moveable // check for emptyness bool IsEmpty(void) const; - MIValue const &operator=(const MIValue &v); + MIValue const &operator=(MIValue &v); MIValue const &operator=(String const &s); MIValue(); - MIValue(MIValue const &v); + MIValue(MIValue &v); MIValue(String const &s); void Clear(void);