summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/v4l2_videodevice_test.h
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-10-05 16:31:14 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-10-15 05:05:43 +0300
commit1526650fc781514200fed74bff0856b6fdbae850 (patch)
tree6e8d82422a88665eb13f65e28a206d2fc3df0e9e /test/v4l2_videodevice/v4l2_videodevice_test.h
parentaf60569cbc16e3c0f96e6a7a9602cf80318a9a41 (diff)
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>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_videodevice_test.h')
-rw-r--r--test/v4l2_videodevice/v4l2_videodevice_test.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/v4l2_videodevice/v4l2_videodevice_test.h b/test/v4l2_videodevice/v4l2_videodevice_test.h
index d46540d4..e7762294 100644
--- a/test/v4l2_videodevice/v4l2_videodevice_test.h
+++ b/test/v4l2_videodevice/v4l2_videodevice_test.h
@@ -19,8 +19,6 @@
#include "test.h"
-using namespace libcamera;
-
class V4L2VideoDeviceTest : public Test
{
public:
@@ -36,12 +34,12 @@ protected:
std::string driver_;
std::string entity_;
- std::unique_ptr<DeviceEnumerator> enumerator_;
- std::shared_ptr<MediaDevice> media_;
- CameraSensor *sensor_;
- V4L2Subdevice *debayer_;
- V4L2VideoDevice *capture_;
- std::vector<std::unique_ptr<FrameBuffer>> buffers_;
+ std::unique_ptr<libcamera::DeviceEnumerator> enumerator_;
+ std::shared_ptr<libcamera::MediaDevice> media_;
+ libcamera::CameraSensor *sensor_;
+ libcamera::V4L2Subdevice *debayer_;
+ libcamera::V4L2VideoDevice *capture_;
+ std::vector<std::unique_ptr<libcamera::FrameBuffer>> buffers_;
};
#endif /* __LIBCAMERA_V4L2_DEVICE_TEST_H_ */