Use std::prev() and std::next() instead of their boost equivalents

This commit is contained in:
Andreas Fabri 2025-02-12 17:50:35 +00:00
parent 98b6cf398d
commit c8e9357080
1 changed files with 2 additions and 2 deletions

View File

@ -154,8 +154,8 @@ public:
(*it)->set_removable(false);
++it;
for(; it != ite; ++it){
if(boost::next(it) != ite){
Vertex_handle vp = *boost::prior(it), vn = *boost::next(it);
if(std::next(it) != ite){
Vertex_handle vp = *std::prev(it), vn = *std::next(it);
if(vp == vn){
(*it)->set_removable(false);
}