Fabric: Fixed AttributedString::operator==

Summary: Trivial and shameful erratum.

Reviewed By: mdvacca

Differential Revision: D13166689

fbshipit-source-id: 75128299502bbc9ff5458c4381e7833aa451dd04
This commit is contained in:
Valentin Shergin
2018-11-22 00:48:38 -08:00
committed by Facebook Github Bot
parent 02a3517d0b
commit ecc7012179

View File

@@ -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 {