Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca767e3 commit 7176f0aCopy full SHA for 7176f0a
1 file changed
src/_path_wrapper.cpp
@@ -25,7 +25,7 @@ convert_polygon_vector(std::vector<Polygon> &polygons)
25
auto result = py::list(polygons.size());
26
27
for (size_t i = 0; i < polygons.size(); ++i) {
28
- Polygon poly = polygons[i];
+ const auto& poly = polygons[i];
29
py::ssize_t dims[] = { static_cast<py::ssize_t>(poly.size()), 2 };
30
31
py::array_t<double> subresult(dims);
0 commit comments