This function is almost exclusively called from IsLevelEnabled() which doesn't get inlined (at least by MSVS) when wxString is passed by value to it, and so had to be updated to take a const reference instead, which means that a copy is always going to be made anyhow, so don't try to be smart and avoid it -- it doesn't work anyhow and just results in unusual code, requiring explanatory comments (not needed any longer) and upsetting static code analyzers. No real changes. See https://github.com/wxWidgets/wxWidgets/pull/1387
52 KiB
52 KiB