From 232b918d1f0faec230652f4097b834257a7dbb27 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 3 Apr 2018 16:32:19 +0000 Subject: Re-arrange so inline vectors come last in structs. This might make the memory tools more effective in finding OOBs. Change-Id: Id093bb0a88c37954c80d612ac00b5a168e75bdbf Reviewed-on: https://pdfium-review.googlesource.com/29550 Reviewed-by: dsinclair Commit-Queue: Tom Sepez --- core/fxcrt/cfx_fixedbufgrow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcrt') diff --git a/core/fxcrt/cfx_fixedbufgrow.h b/core/fxcrt/cfx_fixedbufgrow.h index b12b710473..55db8b21d1 100644 --- a/core/fxcrt/cfx_fixedbufgrow.h +++ b/core/fxcrt/cfx_fixedbufgrow.h @@ -24,8 +24,8 @@ class CFX_FixedBufGrow { operator DataType*() { return m_pGrowData ? m_pGrowData.get() : m_FixedData; } private: - DataType m_FixedData[FixedSize]; std::unique_ptr m_pGrowData; + DataType m_FixedData[FixedSize]; }; #endif // CORE_FXCRT_CFX_FIXEDBUFGROW_H_ -- cgit v1.2.3