From ff4e8823992cba2c599d26add3087cc28410fc27 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Wed, 13 Feb 2019 17:03:00 +0000 Subject: test: v4l2_device: Rename dev_ to capture_ Change the variable name globally throughout the tests. Repair the V4L2DeviceTest constructor style, as checkstyle complained. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- test/v4l2_device/v4l2_device_test.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/v4l2_device/v4l2_device_test.h') diff --git a/test/v4l2_device/v4l2_device_test.h b/test/v4l2_device/v4l2_device_test.h index 43539655..c476d3c0 100644 --- a/test/v4l2_device/v4l2_device_test.h +++ b/test/v4l2_device/v4l2_device_test.h @@ -22,7 +22,10 @@ using namespace libcamera; class V4L2DeviceTest : public Test { public: - V4L2DeviceTest() : dev_(nullptr){}; + V4L2DeviceTest() + : capture_(nullptr) + { + } protected: int init(); @@ -30,7 +33,7 @@ protected: std::unique_ptr enumerator_; std::shared_ptr media_; - V4L2Device *dev_; + V4L2Device *capture_; BufferPool pool_; }; -- cgit v1.2.1