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:
parent
ba7cf5d654
commit
3b93746907
1 changed files with 3 additions and 5 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue