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 <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Hirokazu Honda 2021-10-05 16:31:10 +09:00 committed by Laurent Pinchart
parent ba7cf5d654
commit 3b93746907

View file

@ -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);
};