remove unused std imports
authormarina.kolpakova <marina.kolpakova@itseez.com>
Tue, 27 Nov 2012 23:50:49 +0000 (03:50 +0400)
committermarina.kolpakova <marina.kolpakova@itseez.com>
Tue, 27 Nov 2012 23:51:37 +0000 (03:51 +0400)
modules/gpu/include/opencv2/gpu/device/emulation.hpp
modules/gpu/src/cuda/optical_flow_farneback.cu
modules/gpu/src/nvidia/core/NCV.cu

index 074e911..b6fba23 100644 (file)
@@ -44,7 +44,6 @@
 #define OPENCV_GPU_EMULATION_HPP_
 
 #include "warp_reduce.hpp"
-#include <stdio.h>
 
 namespace cv { namespace gpu { namespace device
 {
index 8231775..5bbca34 100644 (file)
@@ -42,7 +42,6 @@
 
 #if !defined CUDA_DISABLER
 
-#include <stdio.h>
 #include "internal_shared.hpp"
 #include "opencv2/gpu/device/common.hpp"
 #include "opencv2/gpu/device/border_interpolate.hpp"
@@ -57,8 +56,6 @@
 #define BORDER_SIZE 5
 #define MAX_KSIZE_HALF 100
 
-using namespace std;
-
 namespace cv { namespace gpu { namespace device { namespace optflow_farneback
 {
     __constant__ float c_g[8];
index 5d1b5d1..77e59cc 100644 (file)
@@ -45,8 +45,6 @@
 #include <vector>
 #include "NCV.hpp"
 
-using namespace std;
-
 
 //==============================================================================
 //
@@ -55,16 +53,16 @@ using namespace std;
 //==============================================================================
 
 
-static void stdDebugOutput(const string &msg)
+static void stdDebugOutput(const std::string &msg)
 {
-    cout << msg;
+    std::cout << msg;
 }
 
 
 static NCVDebugOutputHandler *debugOutputHandler = stdDebugOutput;
 
 
-void ncvDebugOutput(const string &msg)
+void ncvDebugOutput(const std::string &msg)
 {
     debugOutputHandler(msg);
 }