Skip to content

Commit 07db204

Browse files
committed
Fixing unused argument error on pybind11's CI build
1 parent 2fdf0f1 commit 07db204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ struct dependent_false { static constexpr bool value = false; };
18291829

18301830
template <typename Block, typename Signature = remove_cv_t<function_signature_t<Block>>, typename SFINAE = void>
18311831
struct with_block_call_traits {
1832-
static void call(Block &&block, object &&) {
1832+
static void call(Block &&, object &&) {
18331833
static_assert(dependent_false<Block>::value,
18341834
"The inner block function passed to pybind11::with should either take no arguments, "
18351835
"or a single argument convertible from a pybind11::object& or pybind11::object&&, "

0 commit comments

Comments
 (0)