Skip to content

Commit

Permalink
Merge pull request #58 from stbergmann/c++26-vararg-comma
Browse files Browse the repository at this point in the history
Avoid -Wdeprecated-variadic-comma-omission with GCC 15 trunk -std=c++26
  • Loading branch information
igaztanaga authored Dec 9, 2024
2 parents a2bb5c8 + aa25af1 commit b027b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/move/detail/unique_ptr_meta_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b027b84

Please sign in to comment.