diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_array.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_array.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_array.h b/core/fpdfapi/parser/cpdf_array.h index aff65d1454..bb17c0a427 100644 --- a/core/fpdfapi/parser/cpdf_array.h +++ b/core/fpdfapi/parser/cpdf_array.h @@ -99,7 +99,9 @@ class CPDF_Array : public CPDF_Object { index, pdfium::MakeUnique<T>(m_pPool, std::forward<Args>(args)...))); } - void RemoveAt(size_t index, size_t nCount = 1); + void RemoveAt(size_t index); + void Clear(); + void Truncate(size_t nNewSize); void ConvertToIndirectObjectAt(size_t index, CPDF_IndirectObjectHolder* pDoc); const_iterator begin() const { return m_Objects.begin(); } |