Loading libs/binder/Value.cpp +6 −4 Original line number Original line Diff line number Diff line Loading @@ -182,10 +182,12 @@ Value& Value::swap(Value &rhs) Value& Value::operator=(const Value& rhs) Value& Value::operator=(const Value& rhs) { { if (this != &rhs) { delete mContent; delete mContent; mContent = rhs.mContent mContent = rhs.mContent ? rhs.mContent->clone() ? rhs.mContent->clone() : NULL; : NULL; } return *this; return *this; } } Loading Loading
libs/binder/Value.cpp +6 −4 Original line number Original line Diff line number Diff line Loading @@ -182,10 +182,12 @@ Value& Value::swap(Value &rhs) Value& Value::operator=(const Value& rhs) Value& Value::operator=(const Value& rhs) { { if (this != &rhs) { delete mContent; delete mContent; mContent = rhs.mContent mContent = rhs.mContent ? rhs.mContent->clone() ? rhs.mContent->clone() : NULL; : NULL; } return *this; return *this; } } Loading