Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
index f170b20d9888b31c7f3ac8227b9f114c0bc83298..9d646b2943e140c0f6764b5b61c04e65c861239a 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp |
@@ -973,7 +973,7 @@ FX_BOOL CPDF_Parser::LoadCrossRefV5(FX_FILESIZE* pos, FX_BOOL bMainXRef) { |
if (bMainXRef) { |
m_pTrailer = ToDictionary(pStream->GetDict()->Clone()); |
ShrinkObjectMap(size); |
- for (auto it : m_ObjectInfo) |
+ for (auto& it : m_ObjectInfo) |
it.second.type = 0; |
} else { |
m_Trailers.Add(ToDictionary(pStream->GetDict()->Clone())); |