mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 06:41:15 +00:00
std::function is allowed to heap allocate in order to store captured variables, etc, so std::function isn't a trivial type. We can std::move here in order to avoid potential reallocating. While we're at it, make the definition's parameter name match the declaration's parameter name for consistency.