1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +02:00

Try again to fix TranslatableString for Windows compiler...

... The fix at a3d8518 was not sufficient.

I think the Windows compiler has a bug, and gets confused by a name that has
static and non-static overloads.  So use distinct names instead.
This commit is contained in:
Paul Licameli
2019-12-14 14:17:34 -05:00
parent a19035429c
commit 8aa6b47b17
2 changed files with 5 additions and 5 deletions

View File

@@ -317,7 +317,7 @@ wxString TranslatableString::DoGetContext( const Formatter &formatter )
return formatter ? formatter( {}, Request::Context ) : wxString{};
}
wxString TranslatableString::DoFormat(
wxString TranslatableString::DoSubstitute(
const Formatter &formatter, const wxString &format, bool debug )
{
return formatter
@@ -362,7 +362,7 @@ TranslatableString &TranslatableString::Join(
default: {
bool debug = request == Request::DebugFormat;
return
TranslatableString::DoFormat( prevFormatter, str, debug )
TranslatableString::DoSubstitute( prevFormatter, str, debug )
+ separator
+ arg.DoFormat( debug );
}