mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-02 06:40:12 +01:00
Make Audacity build in C++17 ...
... Fixing many conditional operators with explicit construction of wxString instead of simple string literals; And fixing allocation of more strictly aligned structures on Mac, without need for 10.14 as the minimum SDK, by means of some class-specific operators new and delete.
This commit is contained in:
committed by
Dmitry Vedenko
parent
e6e81399f7
commit
77dab158c3
@@ -107,7 +107,8 @@ public:
|
||||
if (Read(key, &str))
|
||||
{
|
||||
struct lconv *info = localeconv();
|
||||
wxString dec = info ? wxString::FromUTF8(info->decimal_point) : wxT(".");
|
||||
wxString dec =
|
||||
info ? wxString::FromUTF8(info->decimal_point) : wxString(".");
|
||||
|
||||
str.Replace(wxT(","), dec);
|
||||
str.Replace(wxT("."), dec);
|
||||
|
||||
Reference in New Issue
Block a user