Fix/suppress vts-testcase/fuzz google-explicit-constructor warnings am: 7141b22143
am: a7cb6d8fb0
Change-Id: I2071a2c67667152a64c215ffb2629c57b7e39f6f
diff --git a/iface_fuzzer/include/ProtoFuzzerRunner.h b/iface_fuzzer/include/ProtoFuzzerRunner.h
index 3bb0bc4..48456bd 100644
--- a/iface_fuzzer/include/ProtoFuzzerRunner.h
+++ b/iface_fuzzer/include/ProtoFuzzerRunner.h
@@ -40,7 +40,7 @@
// HAL-related information, e.g. which interfaces has been opened so far.
class ProtoFuzzerRunner {
public:
- ProtoFuzzerRunner(const std::vector<CompSpec> &comp_specs);
+ explicit ProtoFuzzerRunner(const std::vector<CompSpec> &comp_specs);
// Initializes interface descriptor table by opening the root interface.
void Init(const std::string &, bool);
diff --git a/iface_fuzzer/include/ProtoFuzzerUtils.h b/iface_fuzzer/include/ProtoFuzzerUtils.h
index cc0f7e8..7ccd170 100644
--- a/iface_fuzzer/include/ProtoFuzzerUtils.h
+++ b/iface_fuzzer/include/ProtoFuzzerUtils.h
@@ -51,7 +51,7 @@
// 64-bit random number generator.
class Random {
public:
- Random(uint64_t seed) : rand_(seed) {}
+ explicit Random(uint64_t seed) : rand_(seed) {}
virtual ~Random() {}
// Generates a 64-bit random number.