mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 04:58:41 -06:00

std::function is allowed to heap allocate in order to hold any necessary bound data in order to execute properly (e.g. lambdas with captures), so this avoids unnecessary reallocating.