summaryrefslogtreecommitdiff
path: root/test/libtest/camera_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/libtest/camera_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/libtest/camera_test.h')
-rw-r--r--test/libtest/camera_test.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/libtest/camera_test.h b/test/libtest/camera_test.h
index f56e343e..23122245 100644
--- a/test/libtest/camera_test.h
+++ b/test/libtest/camera_test.h
@@ -12,8 +12,6 @@
#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>
-using namespace libcamera;
-
class CameraTest
{
public:
@@ -21,8 +19,8 @@ public:
~CameraTest();
protected:
- CameraManager *cm_;
- std::shared_ptr<Camera> camera_;
+ libcamera::CameraManager *cm_;
+ std::shared_ptr<libcamera::Camera> camera_;
int status_;
};