diff options
author | Sergii Piatakov <sergii.piatakov@globallogic.com> | 2018-08-06 09:23:22 +0300 |
---|---|---|
committer | Sergii Piatakov <sergii.piatakov@globallogic.com> | 2018-08-10 14:37:02 +0300 |
commit | 1bd0addfc982bc978e0d075c754a715f8c22bb9d (patch) | |
tree | 900a686b65ce6076ab3e02c51167cde67efb7180 | |
parent | 4d3eb7a33f64473e432b38a34dfc8921cb1a8d21 (diff) | |
download | libhardware-1bd0addfc982bc978e0d075c754a715f8c22bb9d.tar.gz |
camera: fix `-Wreorder` compiler warnings
Test: add `USE_CAMERA_V4L2_HAL := true` to
hardware/libhardware/modules/camera/3_4/Android.mk and build
mmm hardware/libhardware/modules/camera/3_4
Change-Id: I02cbe738fb7484e3a1d55712b0f0a55037e181e1
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
-rw-r--r-- | modules/camera/3_4/v4l2_camera.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/camera/3_4/v4l2_camera.cpp b/modules/camera/3_4/v4l2_camera.cpp index 62d790e5..4ec68b78 100644 --- a/modules/camera/3_4/v4l2_camera.cpp +++ b/modules/camera/3_4/v4l2_camera.cpp @@ -76,12 +76,12 @@ V4L2Camera::V4L2Camera(int id, : default_camera_hal::Camera(id), device_(std::move(v4l2_wrapper)), metadata_(std::move(metadata)), - max_input_streams_(0), - max_output_streams_({{0, 0, 0}}), buffer_enqueuer_(new FunctionThread( std::bind(&V4L2Camera::enqueueRequestBuffers, this))), buffer_dequeuer_(new FunctionThread( - std::bind(&V4L2Camera::dequeueRequestBuffers, this))) { + std::bind(&V4L2Camera::dequeueRequestBuffers, this))), + max_input_streams_(0), + max_output_streams_({{0, 0, 0}}) { HAL_LOG_ENTER(); } |