Fix google-explicit-constructor warnings in libhardware
Bug: 28341362 Change-Id: I29a56734e54740e4b15fe2f6cacbbd867163ae79 Test: build with clang-tidy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user