diff --git a/src/mapleall/mpl2mpl/src/reflection_analysis.cpp b/src/mapleall/mpl2mpl/src/reflection_analysis.cpp index 4a65fa8c35de1c09bb774b90c66ff9759454ecd7..753921fed8466d8f1d25bb35d55469c3428eb0e2 100755 --- a/src/mapleall/mpl2mpl/src/reflection_analysis.cpp +++ b/src/mapleall/mpl2mpl/src/reflection_analysis.cpp @@ -1546,7 +1546,7 @@ void ReflectionAnalysis::GenClassMetaData(Klass &klass) { } if (structType->IsMIRClassType()) { MIRClassType *classType = static_cast(structType); - for (TyIdx const kTyIdx : classType->GetInterfaceImplemented()) { + for (TyIdx const& kTyIdx : classType->GetInterfaceImplemented()) { Klass *interface = klassH->GetKlassFromTyIdx(kTyIdx); if (interface == nullptr) { MIRType *type = GlobalTables::GetTypeTable().GetTypeFromTyIdx(kTyIdx);