mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
chore: bump maximum clang tested to 20 (#5692)
This commit is contained in:
@@ -90,7 +90,7 @@ PYBIND11_MAKE_OPAQUE(std::vector<NonCopyableInt>)
|
||||
PYBIND11_MAKE_OPAQUE(std::vector<NonCopyableIntPair>)
|
||||
|
||||
template <typename PythonType>
|
||||
py::list test_random_access_iterator(PythonType x) {
|
||||
py::list test_random_access_iterator(const PythonType &x) {
|
||||
if (x.size() < 5) {
|
||||
throw py::value_error("Please provide at least 5 elements for testing.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user