diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-10-05 16:31:11 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-15 05:05:39 +0300 |
commit | f277590d5cb13ad7caff189d21ce87df54f709f1 (patch) | |
tree | 09b6cfac62ad0831cb5b2ac124587e2445a38c56 /src/qcam/dng_writer.h | |
parent | 3b93746907dfd1367b107af943f1df5a37a2eb29 (diff) |
qcam: Remove using namespace in header files
"using namespace" in a header file propagates the namespace to
the files including the header file. So it should be avoided.
This removes "using namespace" in header files in qcam.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/dng_writer.h')
-rw-r--r-- | src/qcam/dng_writer.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/qcam/dng_writer.h b/src/qcam/dng_writer.h index 20905f37..e4486288 100644 --- a/src/qcam/dng_writer.h +++ b/src/qcam/dng_writer.h @@ -15,15 +15,13 @@ #include <libcamera/framebuffer.h> #include <libcamera/stream.h> -using namespace libcamera; - class DNGWriter { public: - static int write(const char *filename, const Camera *camera, - const StreamConfiguration &config, - const ControlList &metadata, - const FrameBuffer *buffer, const void *data); + static int write(const char *filename, const libcamera::Camera *camera, + const libcamera::StreamConfiguration &config, + const libcamera::ControlList &metadata, + const libcamera::FrameBuffer *buffer, const void *data); }; #endif /* HAVE_TIFF */ |