1
0
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:
Paul Licameli
2018-07-28 10:55:19 -04:00
parent 4d24c0249b
commit 8935fa106f
3 changed files with 6 additions and 6 deletions

View File

@@ -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;
}