projects
/
profile
/
ivi
/
opencv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some formal changes (generally adding constness)
[profile/ivi/opencv.git]
/
modules
/
imgproc
/
test
/
test_filter.cpp
diff --git
a/modules/imgproc/test/test_filter.cpp
b/modules/imgproc/test/test_filter.cpp
index
a0927b0
..
6b8cb8c
100644
(file)
--- a/
modules/imgproc/test/test_filter.cpp
+++ b/
modules/imgproc/test/test_filter.cpp
@@
-228,7
+228,7
@@
int CV_MorphologyBaseTest::prepare_test_case( int test_case_idx )
if( shape == CV_SHAPE_CUSTOM )
{
eldata.resize(aperture_size.width*aperture_size.height);
- uchar* src = test_mat[INPUT][1].data;
+
const
uchar* src = test_mat[INPUT][1].data;
int srcstep = (int)test_mat[INPUT][1].step;
int i, j, nonzero = 0;