PartDesign: apply std::ranges

This commit is contained in:
bofdahof
2025-03-12 20:01:50 +10:00
committed by Chris Hennes
parent 2e2f872da6
commit 965af2bf9a
13 changed files with 60 additions and 71 deletions

View File

@@ -158,7 +158,7 @@ void DressUp::getContinuousEdges(Part::TopoShape TopShape, std::vector< std::str
buf << "Edge";
buf << id;
if(std::find(SubNames.begin(),SubNames.end(),buf.str()) == SubNames.end())
if (std::ranges::find(SubNames, buf.str()) == SubNames.end())
{
SubNames.push_back(buf.str());
}