test: 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 test.

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:14 +09:00 committed by Laurent Pinchart
parent af60569cbc
commit 1526650fc7
16 changed files with 33 additions and 35 deletions

View file

@ -16,8 +16,6 @@
#include "test.h"
using namespace libcamera;
class V4L2SubdeviceTest : public Test
{
public:
@ -30,9 +28,9 @@ protected:
int init() override;
void cleanup() override;
std::unique_ptr<DeviceEnumerator> enumerator_;
std::shared_ptr<MediaDevice> media_;
V4L2Subdevice *scaler_;
std::unique_ptr<libcamera::DeviceEnumerator> enumerator_;
std::shared_ptr<libcamera::MediaDevice> media_;
libcamera::V4L2Subdevice *scaler_;
};
#endif /* __LIBCAMERA_V4L2_SUBDEVICE_TEST_H__ */