chore: bump maximum clang tested to 20 (#5692)

This commit is contained in:
Henry Schreiner
2025-05-25 10:54:05 -04:00
committed by GitHub
parent 9d06626521
commit 1dd85ef42a
18 changed files with 57 additions and 35 deletions

View File

@@ -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.");
}