Skip to content

Commit aa25af1

Browse files
committed
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"
1 parent a2bb5c8 commit aa25af1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/move/detail/unique_ptr_meta_utils.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ struct is_unary_function_impl<R (*)(T0)>
497497
{ static const bool value = true; };
498498

499499
template <typename R, class T0>
500-
struct is_unary_function_impl<R (*)(T0...)>
500+
struct is_unary_function_impl<R (*)(T0, ...)>
501501
{ static const bool value = true; };
502502

503503
#else // BOOST_MOVE_TT_TEST_MSC_FUNC_SIGS
@@ -519,7 +519,7 @@ struct is_unary_function_impl<R (__cdecl*)(T0)>
519519
{ static const bool value = true; };
520520

521521
template <typename R, class T0>
522-
struct is_unary_function_impl<R (__cdecl*)(T0...)>
522+
struct is_unary_function_impl<R (__cdecl*)(T0, ...)>
523523
{ static const bool value = true; };
524524

525525
#endif

0 commit comments

Comments
 (0)