Data interchange, editor suite, and runtime re-implementations for games by Retro Studios
Go to file
Lioncash 3dc10e7473 CVar: std::move listeners within addListener()
std::function is allowed to heap allocate in order to hold any necessary
captures, so we should be std::move-ing instances here in order to avoid
potentially performing reallocations.
2019-08-24 16:27:29 -04:00
hecl CVar: std::move listeners within addListener() 2019-08-24 16:27:29 -04:00