mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0026360: Useless global functions IsSimilar() in Standard
Remove IsSimilar() global function for Standard types. Replace usege of IsSimilar() by IsEqual().
This commit is contained in:
@@ -115,7 +115,7 @@ Standard_Boolean Quantity_Convert::IsPhysicalQuantity
|
||||
Standard_Boolean Find = Standard_False;
|
||||
while (i <= 68 && !Find)
|
||||
{
|
||||
if (IsSimilar(anEnum.ToCString(),theEnums[i-1]))
|
||||
if (IsEqual(anEnum.ToCString(),theEnums[i-1]))
|
||||
Find = Standard_True;
|
||||
else
|
||||
i++;
|
||||
|
Reference in New Issue
Block a user