mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
Replace deprecated std::mem_fun and mem_fun_ref with mem_fn...
... which is easier to type and works whether you pass object pointers or references to its operator ().
This commit is contained in:
@@ -305,6 +305,6 @@ wxArrayString LocalizedStrings(
|
||||
{
|
||||
wxArrayString results;
|
||||
std::transform( strings, strings + nStrings, std::back_inserter(results),
|
||||
std::mem_fun_ref( &IdentInterfaceSymbol::Translation ) );
|
||||
std::mem_fn( &IdentInterfaceSymbol::Translation ) );
|
||||
return results;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user