We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fdf0f1 commit 07db204Copy full SHA for 07db204
include/pybind11/pybind11.h
@@ -1829,7 +1829,7 @@ struct dependent_false { static constexpr bool value = false; };
1829
1830
template <typename Block, typename Signature = remove_cv_t<function_signature_t<Block>>, typename SFINAE = void>
1831
struct with_block_call_traits {
1832
- static void call(Block &&block, object &&) {
+ static void call(Block &&, object &&) {
1833
static_assert(dependent_false<Block>::value,
1834
"The inner block function passed to pybind11::with should either take no arguments, "
1835
"or a single argument convertible from a pybind11::object& or pybind11::object&&, "
0 commit comments