From 5ce4bb62e77e85a681d6742f25e5173963b55415 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 18 Aug 2019 03:13:29 +0300 Subject: test: camera: Use the CameraManager from the CameraTest base class Make the camera manager a protected field of the CameraTest class, and use it instead of CameraManager::instance() in the camera tests. This prepares for the removal of CameraManager::instance(). Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi --- test/camera/camera_test.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/camera/camera_test.h') diff --git a/test/camera/camera_test.h b/test/camera/camera_test.h index ffc8a485..e57b05eb 100644 --- a/test/camera/camera_test.h +++ b/test/camera/camera_test.h @@ -23,10 +23,8 @@ protected: int init(); void cleanup(); - std::shared_ptr camera_; - -private: CameraManager *cm_; + std::shared_ptr camera_; }; #endif /* __LIBCAMERA_CAMERA_TEST_H__ */ -- cgit v1.2.1