mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 01:37:16 +00: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
b262a21af4
commit
4523940a3b
@ -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…
x
Reference in New Issue
Block a user