commit | c6baf563ba6aa207a48317c177b29f1d2b70cf3d | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Apr 27 11:29:23 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Wed Apr 27 11:38:12 2016 -0700 |
tree | 38cb5ab3e8ce0ebe0bcdace644378ad037adb37f | |
parent | cd4f7e12037acd16f500dc9a4be98e51fe58a11b [diff] [blame] |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
diff --git a/core/jni/android_hardware_camera2_legacy_PerfMeasurement.cpp b/core/jni/android_hardware_camera2_legacy_PerfMeasurement.cpp index f042058..a081665 100644 --- a/core/jni/android_hardware_camera2_legacy_PerfMeasurement.cpp +++ b/core/jni/android_hardware_camera2_legacy_PerfMeasurement.cpp
@@ -114,7 +114,7 @@ * will be active at once, which is a function of the GPU's level of * pipelining and the frequency of queries. */ - PerfMeasurementContext(size_t maxQueryCount): + explicit PerfMeasurementContext(size_t maxQueryCount): mTimingStartIndex(0), mTimingEndIndex(0), mTimingQueryIndex(0) {