@@ -517,14 +517,14 @@ template <size_t Nurse, size_t Patient> struct process_attribute<keep_alive<Nurs
517
517
template <typename ... Args> struct process_attributes {
518
518
static void init (const Args&... args, function_record *r) {
519
519
PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100 (r);
520
- PYBIND11_WORKAROUND_INCORRECT_ALL_GCC_UNUSED_BUT_SET_PARAMETER (r);
520
+ PYBIND11_WORKAROUND_INCORRECT_GCC_UNUSED_BUT_SET_PARAMETER (r);
521
521
using expander = int [];
522
522
(void ) expander{
523
523
0 , ((void ) process_attribute<typename std::decay<Args>::type>::init (args, r), 0 )...};
524
524
}
525
525
static void init (const Args&... args, type_record *r) {
526
526
PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100 (r);
527
- PYBIND11_WORKAROUND_INCORRECT_ALL_GCC_UNUSED_BUT_SET_PARAMETER (r);
527
+ PYBIND11_WORKAROUND_INCORRECT_GCC_UNUSED_BUT_SET_PARAMETER (r);
528
528
using expander = int [];
529
529
(void ) expander{0 ,
530
530
(process_attribute<typename std::decay<Args>::type>::init (args, r), 0 )...};
@@ -537,7 +537,7 @@ template <typename... Args> struct process_attributes {
537
537
}
538
538
static void postcall (function_call &call, handle fn_ret) {
539
539
PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100 (call, fn_ret);
540
- PYBIND11_WORKAROUND_INCORRECT_ALL_GCC_UNUSED_BUT_SET_PARAMETER (fn_ret);
540
+ PYBIND11_WORKAROUND_INCORRECT_GCC_UNUSED_BUT_SET_PARAMETER (fn_ret);
541
541
using expander = int [];
542
542
(void ) expander{
543
543
0 , (process_attribute<typename std::decay<Args>::type>::postcall (call, fn_ret), 0 )...};
0 commit comments