Index: core/fpdfdoc/cpdf_formfield.cpp |
diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp |
index fbe2f052c48721e52379462520ba4885ec36ee77..dc45fbcec7833066ebd9f4ffb4fcc043c129440a 100644 |
--- a/core/fpdfdoc/cpdf_formfield.cpp |
+++ b/core/fpdfdoc/cpdf_formfield.cpp |
@@ -839,7 +839,7 @@ FX_BOOL CPDF_FormField::IsOptionSelected(int iOptIndex) const { |
if (!pArray) |
return FALSE; |
- for (const auto& pObj : *pArray) { |
+ for (CPDF_Object* pObj : *pArray) { |
if (pObj->GetInteger() == iOptIndex) |
return TRUE; |
} |