mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 835470. Add operator== for char_type. r=bsmedberg
Just a matter of hooking it up to Equals(). QString, std::string, WTFString all have these. --HG-- extra : rebase_source : b6046c6fafc4224132462cdbf88f8e72e701b333
This commit is contained in:
parent
c63392f22e
commit
586bc5642a
@ -865,6 +865,13 @@ bool operator==( const nsTSubstring_CharT::base_string_type& lhs, const nsTSubst
|
||||
return lhs.Equals(rhs);
|
||||
}
|
||||
|
||||
inline
|
||||
bool operator==( const nsTSubstring_CharT::base_string_type& lhs, const nsTSubstring_CharT::char_type* rhs )
|
||||
{
|
||||
return lhs.Equals(rhs);
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
bool operator>=( const nsTSubstring_CharT::base_string_type& lhs, const nsTSubstring_CharT::base_string_type& rhs )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user