Import: apply std::ranges

This commit is contained in:
bofdahof
2025-03-12 17:48:21 +10:00
committed by Chris Hennes
parent 4dd92724b6
commit 49cc124a68
2 changed files with 2 additions and 3 deletions

View File

@@ -535,7 +535,7 @@ private:
"User parameter:BaseApp/Preferences/Mod/Part/STEP");
std::string scheme = hGrp->GetASCII("Scheme", Part::Interface::writeStepScheme());
std::list<std::string> supported = Part::supportedSTEPSchemes();
if (std::find(supported.begin(), supported.end(), scheme) != supported.end()) {
if (std::ranges::find(supported, scheme) != supported.end()) {
Part::Interface::writeStepScheme(scheme.c_str());
}