parent
eb0922c223
commit
464967e26c
|
@ -587,7 +587,7 @@ struct LangMenuItem final
|
|||
LangMenuItem(LangType lt, int cmdID = 0, const std::wstring& langName = TEXT("")):
|
||||
_langType(lt), _cmdID(cmdID), _langName(langName){};
|
||||
|
||||
bool operator<(const LangMenuItem& rhs)
|
||||
bool operator<(const LangMenuItem& rhs) const
|
||||
{
|
||||
std::wstring lhs_lang(this->_langName.length(), ' '), rhs_lang(rhs._langName.length(), ' ');
|
||||
std::transform(this->_langName.begin(), this->_langName.end(), lhs_lang.begin(), towlower);
|
||||
|
|
Loading…
Reference in New Issue