mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Fabric: Fixed AttributedString::operator==
Summary: Trivial and shameful erratum. Reviewed By: mdvacca Differential Revision: D13166689 fbshipit-source-id: 75128299502bbc9ff5458c4381e7833aa451dd04
This commit is contained in:
committed by
Facebook Github Bot
parent
02a3517d0b
commit
ecc7012179
@@ -73,7 +73,7 @@ std::string AttributedString::getString() const {
|
||||
}
|
||||
|
||||
bool AttributedString::operator==(const AttributedString &rhs) const {
|
||||
return fragments_ != rhs.fragments_;
|
||||
return fragments_ == rhs.fragments_;
|
||||
}
|
||||
|
||||
bool AttributedString::operator!=(const AttributedString &rhs) const {
|
||||
|
||||
Reference in New Issue
Block a user