mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +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:
@@ -207,7 +207,7 @@ void Importer::ReadImportItems()
|
||||
bool found = false;
|
||||
for (const auto &importPlugin : mImportPluginList)
|
||||
{
|
||||
if (importPlugin->GetPluginStringID().Cmp(new_item->filters[i]) == 0)
|
||||
if (importPlugin->GetPluginStringID() == new_item->filters[i])
|
||||
{
|
||||
new_item->filter_objects.push_back(importPlugin.get());
|
||||
found = true;
|
||||
|
Reference in New Issue
Block a user