readd the function param

This commit is contained in:
altalk23 2023-01-25 20:30:18 +03:00 committed by alk
parent 20776b58d7
commit 9c48ff0e0f

View file

@ -8,7 +8,7 @@ namespace geode::modifier {
* A helper struct that generates a static function that calls the given function.
*/
#define GEODE_AS_STATIC_FUNCTION(FunctionName_) \
template <class Class2> \
template <class Class2, auto Function> \
struct AsStaticFunction_##FunctionName_ { \
template <class FunctionType2> \
struct Impl {}; \