CAM: use contains() instead of count() where possible

This commit is contained in:
Benjamin Nauck
2025-03-12 15:58:52 +01:00
parent a882289995
commit dd2172e463
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ bool Command::has(const std::string& attr) const
{
std::string a(attr);
boost::to_upper(a);
return Parameters.count(a) > 0;
return Parameters.contains(a);
}
std::string Command::toGCode(int precision, bool padzero) const