From 7465ee8e0cc10babbebb2124b15abb1dd8f21983 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 6 Oct 2022 22:54:02 +0300 Subject: libcamera: camera_manager: Rename parameter to get() The CameraManager::get() function takes a string containing the ID of the requested camera. This is correctly documented and implemented in the .cpp file, but the header file names the parameter 'name' instead of 'id'. Fix it. Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain --- include/libcamera/camera_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libcamera/camera_manager.h b/include/libcamera/camera_manager.h index 7647c2a1..4b1fb756 100644 --- a/include/libcamera/camera_manager.h +++ b/include/libcamera/camera_manager.h @@ -31,7 +31,7 @@ public: void stop(); std::vector> cameras() const; - std::shared_ptr get(const std::string &name); + std::shared_ptr get(const std::string &id); std::shared_ptr get(dev_t devnum); void addCamera(std::shared_ptr camera, -- cgit v1.2.1