Message ID | 20240902154212.1281257-9-mzamazal@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
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>
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>
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(-)