Fix google-explicit-constructor warnings in libhardware

Bug: 28341362
Change-Id: I29a56734e54740e4b15fe2f6cacbbd867163ae79
Test: build with clang-tidy
This commit is contained in:
Chih-Hung Hsieh
2016-06-30 14:17:31 -07:00
parent 8babab0d5c
commit 928e679cf3
12 changed files with 12 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ class SensorEventQueue {
pthread_cond_t mSpaceAvailableCondition;
public:
SensorEventQueue(int capacity);
explicit SensorEventQueue(int capacity);
~SensorEventQueue();
// Returns length of region, between zero and min(capacity, requestedLength). If there is any