Commit bde7ee48 authored by Bellaktris's avatar Bellaktris

fixed g++ build

parent a200e8ab
...@@ -79,10 +79,10 @@ namespace cv ...@@ -79,10 +79,10 @@ namespace cv
{ {
std::vector <int> hist(nElements, 0); std::vector <int> hist(nElements, 0);
Mat_<T>::iterator beginIt = src[i].begin(); typename Mat_<T>::iterator beginIt = src[i].begin();
Mat_<T>::iterator endIt = src[i].end(); typename Mat_<T>::iterator endIt = src[i].end();
for (Mat_<T>::iterator it = beginIt; it != endIt; ++it) for (typename Mat_<T>::iterator it = beginIt; it != endIt; ++it)
// histogram filling // histogram filling
{ {
int pos = 0; int pos = 0;
...@@ -202,4 +202,4 @@ namespace cv ...@@ -202,4 +202,4 @@ namespace cv
break; break;
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment