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/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/javascript/util.h') diff --git a/fpdfsdk/javascript/util.h b/fpdfsdk/javascript/util.h index efcf0c8f89..80763d1e27 100644 --- a/fpdfsdk/javascript/util.h +++ b/fpdfsdk/javascript/util.h @@ -14,7 +14,7 @@ class util : public CJS_EmbedObj { public: - util(CJS_Object* pJSObject); + explicit util(CJS_Object* pJSObject); ~util() override; bool printd(IJS_Context* cc, @@ -44,7 +44,7 @@ class util : public CJS_EmbedObj { class CJS_Util : public CJS_Object { public: - CJS_Util(v8::Local pObject) : CJS_Object(pObject) {} + explicit CJS_Util(v8::Local pObject) : CJS_Object(pObject) {} ~CJS_Util() override {} DECLARE_JS_CLASS(); -- cgit v1.2.3