Skip to content

Commit eca4869

Browse files
committed
fix linting
1 parent 162411d commit eca4869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyunrealsdk/unreal_bindings/wrapped_array_methods.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ void array_py_sort(WrappedArray& self, const py::object& key, bool reverse) {
168168
[]() { return py::module_::import("builtins").attr("sorted"); })
169169
.get_stored();
170170

171-
py::sequence sorted_array = sorted(self, "key"_a = key, "reverse"_a = reverse);
171+
const py::sequence sorted_array = sorted(self, "key"_a = key, "reverse"_a = reverse);
172172
auto size = self.size();
173173
for (size_t i = 0; i < size; i++) {
174174
array_set(self, i, sorted_array[i]);

0 commit comments

Comments
 (0)