GUDHI/gudhi-devel

remove_if unused result

mglisse opened this issue · 0 comments

std::remove_if(ngb_info.neighbors.begin(), ngb_info.neighbors.end(), [&](auto near_){

clang++ with libc++ warns that it is suspicious not to use the return value of remove_if. I need to look at this code again and either actually use the return value, or add a comment explaining why not.