Merge pull request #719 from codecat/fix-method-bind-crash

pull/702/merge
Rémi Verschelde 2022-03-04 13:52:44 +01:00 committed by GitHub
commit 2f3ead0281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}