From 85c8e7f788512ce5b5b43cd816e8091b57c3d5e7 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 21 Nov 2016 13:50:32 -0500 Subject: Fixup lint flags. The -build/include setting was masking out build/include_what_you_use. This CL restores them, fixes any build errors, and adds NOLINT as needed. As well, the runtime/explicit and runtime/printf flags are aslo enabled and NOLINT'd. lint cleanups Change-Id: Ib013b3eb29c8d0e48cad74c5df9028684130719f Reviewed-on: https://pdfium-review.googlesource.com/2030 Reviewed-by: Tom Sepez --- xfa/fgas/layout/fgas_textbreak.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fgas/layout') diff --git a/xfa/fgas/layout/fgas_textbreak.h b/xfa/fgas/layout/fgas_textbreak.h index 4e9238f7bf..7bae6cd46e 100644 --- a/xfa/fgas/layout/fgas_textbreak.h +++ b/xfa/fgas/layout/fgas_textbreak.h @@ -160,7 +160,7 @@ typedef CFX_BaseArrayTemplate CFX_TxtPieceArray; class CFX_TxtLine { public: - CFX_TxtLine(int32_t iBlockSize); + explicit CFX_TxtLine(int32_t iBlockSize); ~CFX_TxtLine(); int32_t CountChars() const { return m_pLineChars->GetSize(); } @@ -199,7 +199,7 @@ class CFX_TxtLine { class CFX_TxtBreak { public: - CFX_TxtBreak(uint32_t dwPolicies); + explicit CFX_TxtBreak(uint32_t dwPolicies); ~CFX_TxtBreak(); void SetLineWidth(FX_FLOAT fLineWidth); -- cgit v1.2.3