mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
More std:: style for wxString...
... Remove all uses of the three-valued Cmp comparison member function, which returns 0 for equality, except in one place. Use operators == and != instead. (C++20's spaceship operator hasn't landed here yet!)
This commit is contained in:
@@ -505,7 +505,7 @@ void ExtImportPrefs::OnRuleTableEdit (wxGridEvent& event)
|
||||
|
||||
wxString trimmed = vals[i];
|
||||
trimmed.Trim().Trim(false);
|
||||
if (trimmed.Cmp(vals[i]) != 0)
|
||||
if (trimmed != vals[i])
|
||||
{
|
||||
if (!askedAboutSpaces)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user