From 956df72eb0758671406d731056a3f29cc32895c7 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Fri, 22 Apr 2016 10:25:10 -0700 Subject: [PATCH] Fix google-explicit-constructor warning. Bug: 28341362 Change-Id: I85d2f83a3ca35699cfab54e725a64aaf3013c8f1 --- benchmarks/property_benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/property_benchmark.cpp b/benchmarks/property_benchmark.cpp index 2f72d60bc..4e821176b 100644 --- a/benchmarks/property_benchmark.cpp +++ b/benchmarks/property_benchmark.cpp @@ -36,7 +36,7 @@ extern void* __system_property_area__; Arg(1)->Arg(4)->Arg(16)->Arg(64)->Arg(128)->Arg(256)->Arg(512) struct LocalPropertyTestState { - LocalPropertyTestState(int nprops) : nprops(nprops), valid(false) { + explicit LocalPropertyTestState(int nprops) : nprops(nprops), valid(false) { static const char prop_name_chars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_."; const char* android_data = getenv("ANDROID_DATA");