[v3,08/18] libcamera: uvcvideo: Fix includes
diff mbox series

Message ID 20240902154212.1281257-9-mzamazal@redhat.com
State Accepted
Headers show
Series
  • Remove unused includes
Related show

Commit Message

Milan Zamazal Sept. 2, 2024, 3:42 p.m. UTC
The includes that are not used can be removed and there are also
directly used includes not listed.  Let's fix both.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
---
 src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Laurent Pinchart Sept. 2, 2024, 6:52 p.m. UTC | #1
On Mon, Sep 02, 2024 at 05:42:01PM +0200, Milan Zamazal wrote:
> The includes that are not used can be removed and there are also
> directly used includes not listed.  Let's fix both.
> 
> Signed-off-by: Milan Zamazal <mzamazal@redhat.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
> index e9faa1a9..6b32fa18 100644
> --- a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
> +++ b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
> @@ -7,10 +7,12 @@
>  
>  #include <algorithm>
>  #include <fstream>
> -#include <iomanip>
> +#include <map>
>  #include <math.h>
>  #include <memory>
> -#include <tuple>
> +#include <set>
> +#include <string>
> +#include <vector>
>  
>  #include <libcamera/base/log.h>
>  #include <libcamera/base/mutex.h>

Patch
diff mbox series

diff --git a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
index e9faa1a9..6b32fa18 100644
--- a/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
+++ b/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp
@@ -7,10 +7,12 @@ 
 
 #include <algorithm>
 #include <fstream>
-#include <iomanip>
+#include <map>
 #include <math.h>
 #include <memory>
-#include <tuple>
+#include <set>
+#include <string>
+#include <vector>
 
 #include <libcamera/base/log.h>
 #include <libcamera/base/mutex.h>