diff options
Diffstat (limited to 'core/fxcrt/cfx_seekablemultistream.cpp')
-rw-r--r-- | core/fxcrt/cfx_seekablemultistream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/cfx_seekablemultistream.cpp b/core/fxcrt/cfx_seekablemultistream.cpp index 92286b1939..24a29ee425 100644 --- a/core/fxcrt/cfx_seekablemultistream.cpp +++ b/core/fxcrt/cfx_seekablemultistream.cpp @@ -13,8 +13,8 @@ #include "third_party/base/stl_util.h" CFX_SeekableMultiStream::CFX_SeekableMultiStream( - const std::vector<CPDF_Stream*>& streams) { - for (CPDF_Stream* pStream : streams) { + const std::vector<const CPDF_Stream*>& streams) { + for (const CPDF_Stream* pStream : streams) { m_Data.push_back(pdfium::MakeRetain<CPDF_StreamAcc>(pStream)); m_Data.back()->LoadAllDataFiltered(); } |