From c1157c8128c03f1cbdfed2be871efa81bc014b96 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Wed, 8 Sep 2010 20:18:37 +0000 Subject: [PATCH] fixed compile for linux --- tests/gpu/src/operator_convert_to.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/gpu/src/operator_convert_to.cpp b/tests/gpu/src/operator_convert_to.cpp index 4fd2ea1..47414a2 100644 --- a/tests/gpu/src/operator_convert_to.cpp +++ b/tests/gpu/src/operator_convert_to.cpp @@ -115,9 +115,10 @@ void CV_GpuMatOpConvertToTest::run(int /* start_from */) } catch(cv::Exception& e) { - ts->printf(CvTS::CONSOLE, "\nERROR: %s\n", e.err); + ts->printf(CvTS::CONSOLE, "\nERROR: %s\n", e.what()); } ts->set_failed_test_info(passed ? CvTS::OK : CvTS::FAIL_GENERIC); } -CV_GpuMatOpConvertToTest CV_GpuMatOpConvertTo_test; \ No newline at end of file +CV_GpuMatOpConvertToTest CV_GpuMatOpConvertToTest_test; + -- 2.7.4