From faecb78a6b11c780db47bc940ca7662899ab5d5e Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 21 Jul 2016 11:23:06 -0700 Subject: Fix google-explicit-constructor warnings in frameworks/base * Add explicit keyword to conversion constructors. * Add NOLINT to implicit conversion constructors. Bug: 28341362 Test: build with clang-tidy Change-Id: Ie4d37072ab57d1662d18db4de1c8577247f43337 --- libs/hwui/ProgramCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/ProgramCache.h') diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h index 1dadda1a4c83..9ac885b665e7 100644 --- a/libs/hwui/ProgramCache.h +++ b/libs/hwui/ProgramCache.h @@ -40,7 +40,7 @@ namespace uirenderer { */ class ProgramCache { public: - ProgramCache(Extensions& extensions); + explicit ProgramCache(Extensions& extensions); ~ProgramCache(); Program* get(const ProgramDescription& description); -- cgit v1.2.3-59-g8ed1b