mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-02 06:40:12 +01:00
Rewrite TranslatableString::operator== without dangerous looking casts
This commit is contained in:
@@ -361,7 +361,7 @@ public:
|
||||
// TranslatableStrings
|
||||
friend bool operator == (
|
||||
const TranslatableString &x, const TranslatableString &y)
|
||||
{ return (const wxString&)x == (const wxString&)y; }
|
||||
{ return x.mMsgid == y.mMsgid; }
|
||||
|
||||
friend bool operator != (
|
||||
const TranslatableString &x, const TranslatableString &y)
|
||||
|
||||
Reference in New Issue
Block a user