Avoid -Wdeprecated-variadic-comma-omission with GCC 15 trunk -std=c++26

...since
<https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=cc67d95dc100706ea665e8cce581d59466aba62e>
"c++: Implement C++26 P3176R1 - The Oxford variadic comma"
This commit is contained in:
Stephan Bergmann
2024-12-02 19:06:25 +01:00
parent a2bb5c8853
commit aa25af1928

View File

@@ -497,7 +497,7 @@ struct is_unary_function_impl<R (*)(T0)>
{ static const bool value = true; };
template <typename R, class T0>
struct is_unary_function_impl<R (*)(T0...)>
struct is_unary_function_impl<R (*)(T0, ...)>
{ static const bool value = true; };
#else // BOOST_MOVE_TT_TEST_MSC_FUNC_SIGS
@@ -519,7 +519,7 @@ struct is_unary_function_impl<R (__cdecl*)(T0)>
{ static const bool value = true; };
template <typename R, class T0>
struct is_unary_function_impl<R (__cdecl*)(T0...)>
struct is_unary_function_impl<R (__cdecl*)(T0, ...)>
{ static const bool value = true; };
#endif