mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fix unused variable warning in Pybind11 (#2726)
This commit is contained in:
parent
1958da78da
commit
73a1c2f4fc
@ -380,7 +380,7 @@ namespace pybind11
|
||||
struct pyobject_caster<dlib::numpy_image<pixel_type>> {
|
||||
using type = dlib::numpy_image<pixel_type>;
|
||||
|
||||
bool load(handle src, bool convert) {
|
||||
bool load(handle src, bool /*convert*/) {
|
||||
// If passed a tuple where the first element of the tuple is a valid
|
||||
// numpy_image then bind the numpy_image to that element of the tuple.
|
||||
// We do this because there is a pattern of returning an image and some
|
||||
|
Loading…
Reference in New Issue
Block a user