Fixed crash on release builds due to missing argument type information

pull/719/head
Melissa Geels 2022-03-02 14:44:23 +01:00
parent 4368f14e9d
commit d97dc518d3
1 changed files with 0 additions and 8 deletions

View File

@ -268,9 +268,7 @@ public:
MethodBindT(void (MB_T::*p_method)(P...)) {
method = p_method;
#ifdef DEBUG_METHODS_ENABLED
generate_argument_types(sizeof...(P));
#endif // DEBUG_METHODS_ENABLED
set_argument_count(sizeof...(P));
}
};
@ -346,9 +344,7 @@ public:
MethodBindTC(void (MB_T::*p_method)(P...) const) {
method = p_method;
#ifdef DEBUG_METHODS_ENABLED
generate_argument_types(sizeof...(P));
#endif // DEBUG_METHODS_ENABLED
set_argument_count(sizeof...(P));
}
};
@ -430,9 +426,7 @@ public:
MethodBindTR(R (MB_T::*p_method)(P...)) {
method = p_method;
#ifdef DEBUG_METHODS_ENABLED
generate_argument_types(sizeof...(P));
#endif // DEBUG_METHODS_ENABLED
set_argument_count(sizeof...(P));
set_return(true);
}
@ -515,9 +509,7 @@ public:
MethodBindTRC(R (MB_T::*p_method)(P...) const) {
method = p_method;
#ifdef DEBUG_METHODS_ENABLED
generate_argument_types(sizeof...(P));
#endif // DEBUG_METHODS_ENABLED
set_argument_count(sizeof...(P));
set_return(true);
}