Commit bd5d8ea3 authored by Manuel Günther's avatar Manuel Günther

Merge branch 'c++-compatibility' into 'master'

Improved compatibility for non-C++-11 compilers

See merge request !13
parents 30d83efa 54fc25c1
Pipeline #13255 passed with stages
in 35 minutes and 47 seconds
......@@ -571,7 +571,7 @@ namespace bob { namespace ip { namespace base {
bob::core::warn << "Could not find valid pixel in direction (" << next_dir_y << ", " << next_dir_x << ") at pixel position (" << current_pos_y << ", " << current_pos_x << "); is your mask convex?";
} else {
// choose one of the next pixels
std::vector<blitz::TinyVector<int,2>> locations;
std::vector<blitz::TinyVector<int,2> > locations;
if (neighbors >= 1){
for (int c = -neighbors; c <= neighbors; ++c){
int pos_y = valid_y + c * current_dir_y;
......
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