From 3b93746907dfd1367b107af943f1df5a37a2eb29 Mon Sep 17 00:00:00 2001 From: Hirokazu Honda Date: Tue, 5 Oct 2021 16:31:10 +0900 Subject: cam: Remove using namespace in stream_options.h "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 stream_options.h Signed-off-by: Hirokazu Honda Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/cam/stream_options.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/cam/stream_options.h b/src/cam/stream_options.h index 577391f0..fbbc13a3 100644 --- a/src/cam/stream_options.h +++ b/src/cam/stream_options.h @@ -11,8 +11,6 @@ #include "options.h" -using namespace libcamera; - class StreamKeyValueParser : public KeyValueParser { public: @@ -20,12 +18,12 @@ public: KeyValueParser::Options parse(const char *arguments) override; - static StreamRoles roles(const OptionValue &values); - static int updateConfiguration(CameraConfiguration *config, + static libcamera::StreamRoles roles(const OptionValue &values); + static int updateConfiguration(libcamera::CameraConfiguration *config, const OptionValue &values); private: - static bool parseRole(StreamRole *role, + static bool parseRole(libcamera::StreamRole *role, const KeyValueParser::Options &options); }; -- cgit v1.2.1