newsbot
22.10.2023, 05:23
Автор: evil-at-wow
QueryCallback: simplify/modernize. Callback: remove, no longer needed.We***39;ve been using C++11 (and later) for many years now, so we no longerneed a bunch of boiler plate code to get something like a function witha varying number of parameters that we can use as a callback; that iscovered by standard functionality like std::function, std::bind, etc.
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/d3e8eb0ff49b14bdc0ed02983135e5395ccfd3c3)
QueryCallback: simplify/modernize. Callback: remove, no longer needed.We***39;ve been using C++11 (and later) for many years now, so we no longerneed a bunch of boiler plate code to get something like a function witha varying number of parameters that we can use as a callback; that iscovered by standard functionality like std::function, std::bind, etc.
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/d3e8eb0ff49b14bdc0ed02983135e5395ccfd3c3)