Skip to content

Commit 706edaf

Browse files
author
Roberto De Ioris
committed
fixed variable shadowing
1 parent 998df16 commit 706edaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/UnrealEnginePython/Private/CollectionManager/UEPyICollectionManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ static PyObject *py_ue_icollection_manager_get_child_collection_names(PyObject *
5959
ICollectionManager &CollectionManager = FCollectionManagerModule::GetModule().Get();
6060
TArray<FName> names;
6161
CollectionManager.GetChildCollectionNames(FName(UTF8_TO_TCHAR(name)), (ECollectionShareType::Type)type, (ECollectionShareType::Type)child_type, names);
62-
for (FName name : names) {
63-
PyList_Append(py_list, PyUnicode_FromString(TCHAR_TO_UTF8(*name.ToString())));
62+
for (FName cname : names) {
63+
PyList_Append(py_list, PyUnicode_FromString(TCHAR_TO_UTF8(*cname.ToString())));
6464
}
6565
return py_list;
6666
}

0 commit comments

Comments
 (0)