summaryrefslogtreecommitdiff
path: root/test/camera
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/camera
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/camera')
-rw-r--r--test/camera/camera_reconfigure.cpp1
-rw-r--r--test/camera/capture.cpp1
-rw-r--r--test/camera/configuration_default.cpp1
-rw-r--r--test/camera/configuration_set.cpp1
-rw-r--r--test/camera/statemachine.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/test/camera/camera_reconfigure.cpp b/test/camera/camera_reconfigure.cpp
index 48d61c00..0fd8ab70 100644
--- a/test/camera/camera_reconfigure.cpp
+++ b/test/camera/camera_reconfigure.cpp
@@ -21,6 +21,7 @@
#include "camera_test.h"
#include "test.h"
+using namespace libcamera;
using namespace std;
namespace {
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index 238d98db..41ae00d7 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -16,6 +16,7 @@
#include "camera_test.h"
#include "test.h"
+using namespace libcamera;
using namespace std;
namespace {
diff --git a/test/camera/configuration_default.cpp b/test/camera/configuration_default.cpp
index c2b20194..209eb6a5 100644
--- a/test/camera/configuration_default.cpp
+++ b/test/camera/configuration_default.cpp
@@ -10,6 +10,7 @@
#include "camera_test.h"
#include "test.h"
+using namespace libcamera;
using namespace std;
namespace {
diff --git a/test/camera/configuration_set.cpp b/test/camera/configuration_set.cpp
index a1dc446a..4281a1c4 100644
--- a/test/camera/configuration_set.cpp
+++ b/test/camera/configuration_set.cpp
@@ -10,6 +10,7 @@
#include "camera_test.h"
#include "test.h"
+using namespace libcamera;
using namespace std;
namespace {
diff --git a/test/camera/statemachine.cpp b/test/camera/statemachine.cpp
index 26fb5ca1..9c2b0c6a 100644
--- a/test/camera/statemachine.cpp
+++ b/test/camera/statemachine.cpp
@@ -12,6 +12,7 @@
#include "camera_test.h"
#include "test.h"
+using namespace libcamera;
using namespace std;
namespace {