Skip to content

Commit

Permalink
Fixing unused argument error on pybind11's CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickJadoul committed Jan 3, 2019
1 parent 737f5fb commit f1603eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ struct dependent_false { static constexpr bool value = false; };

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

0 comments on commit f1603eb

Please sign in to comment.