mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-13 09:51:31 +02: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.