diff options
Diffstat (limited to 'src/android/camera_hal_manager.cpp')
-rw-r--r-- | src/android/camera_hal_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/camera_hal_manager.cpp b/src/android/camera_hal_manager.cpp index 05b47401..2a33f9b1 100644 --- a/src/android/camera_hal_manager.cpp +++ b/src/android/camera_hal_manager.cpp @@ -155,7 +155,7 @@ void CameraHalManager::cameraRemoved(std::shared_ptr<Camera> cam) auto iter = std::find_if(cameras_.begin(), cameras_.end(), [&cam](std::shared_ptr<CameraDevice> &camera) { - return cam.get() == camera->camera(); + return cam == camera->camera(); }); if (iter == cameras_.end()) return; |