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 --- fpdfsdk/javascript/app.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fpdfsdk/javascript/app.h') diff --git a/fpdfsdk/javascript/app.h b/fpdfsdk/javascript/app.h index 32e2aaf28c..e8c72417bb 100644 --- a/fpdfsdk/javascript/app.h +++ b/fpdfsdk/javascript/app.h @@ -18,7 +18,7 @@ class GlobalTimer; class TimerObj : public CJS_EmbedObj { public: - TimerObj(CJS_Object* pJSObject); + explicit TimerObj(CJS_Object* pJSObject); ~TimerObj() override; void SetTimer(GlobalTimer* pTimer); @@ -30,7 +30,7 @@ class TimerObj : public CJS_EmbedObj { class CJS_TimerObj : public CJS_Object { public: - CJS_TimerObj(v8::Local pObject) : CJS_Object(pObject) {} + explicit CJS_TimerObj(v8::Local pObject) : CJS_Object(pObject) {} ~CJS_TimerObj() override {} DECLARE_JS_CLASS(); @@ -38,7 +38,7 @@ class CJS_TimerObj : public CJS_Object { class app : public CJS_EmbedObj { public: - app(CJS_Object* pJSObject); + explicit app(CJS_Object* pJSObject); ~app() override; bool activeDocs(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); -- cgit v1.2.3