Fixed build error caused by range-based for loop from MObjectArray.
Seems that MObjectArray does not support the range-based for loop, or something is missing on it's current implementation. Switched to standard for loop to fix the build error.
Seems that MObjectArray does not support the range-based for loop, or something is missing on it's current implementation. Switched to standard for loop to fix the build error.