1 From aa25af1928cc275537276c1a50e6ba49333a3aec Mon Sep 17 00:00:00 2001
2 From: Stephan Bergmann <stephan.bergmann@allotropia.de>
3 Date: Mon, 2 Dec 2024 19:06:25 +0100
4 Subject: Avoid -Wdeprecated-variadic-comma-omission with GCC 15 trunk
8 <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=cc67d95dc100706ea665e8cce581d59466aba62e>
9 "c++: Implement C++26 P3176R1 - The Oxford variadic comma"
11 include/boost/move/detail/unique_ptr_meta_utils.hpp | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/include/boost/move/detail/unique_ptr_meta_utils.hpp b/include/boost/move/detail/unique_ptr_meta_utils.hpp
15 index 4c6aeb5..27154e0 100644
16 --- a/include/boost/move/detail/unique_ptr_meta_utils.hpp
17 +++ b/include/boost/move/detail/unique_ptr_meta_utils.hpp
18 @@ -497,7 +497,7 @@ struct is_unary_function_impl<R (*)(T0)>
19 { static const bool value = true; };
21 template <typename R, class T0>
22 -struct is_unary_function_impl<R (*)(T0...)>
23 +struct is_unary_function_impl<R (*)(T0, ...)>
24 { static const bool value = true; };
26 #else // BOOST_MOVE_TT_TEST_MSC_FUNC_SIGS
27 @@ -519,7 +519,7 @@ struct is_unary_function_impl<R (__cdecl*)(T0)>
28 { static const bool value = true; };
30 template <typename R, class T0>
31 -struct is_unary_function_impl<R (__cdecl*)(T0...)>
32 +struct is_unary_function_impl<R (__cdecl*)(T0, ...)>
33 { static const bool value = true; };