remove the compile warnings
authoryao <bitwangyaoyao@gmail.com>
Wed, 27 Feb 2013 06:53:27 +0000 (14:53 +0800)
committeryao <bitwangyaoyao@gmail.com>
Wed, 27 Feb 2013 06:53:27 +0000 (14:53 +0800)
modules/ocl/test/test_moments.cpp

index 6a9a06f..715ad89 100644 (file)
@@ -30,7 +30,7 @@ PARAM_TEST_CASE(MomentsTestBase, MatType, bool)
         Mat gpu_dst, cpu_dst;
         HuMoments(cpu, cpu_dst);
         HuMoments(gpu, gpu_dst);
-        EXPECT_MAT_NEAR(gpu_dst,cpu_dst, .5, NULL);
+        EXPECT_MAT_NEAR(gpu_dst,cpu_dst, .5, "");
     }
 
 };