Skip to content

Commit

Permalink
Fix for C++11
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Jan 31, 2024
1 parent 59eb2c4 commit e7ca784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/python/opaque_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ T convert_sequence(pybind11::sequence & source, Args && ... args)
// WARNING: Strings and DataSets are ambiguous when passing bytearray
// Skip conversion to strings if we get an sequence of bytearrays
auto const is_byte_array = std::all_of(
source.begin(), source.end(), [](auto && x) {
source.begin(), source.end(), [](pybind11::object && x) {
return PyByteArray_CheckExact(x.ptr()); });

try_convert(odil::Value::Integers);
Expand Down

0 comments on commit e7ca784

Please sign in to comment.