1
0
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:
akz
2015-09-25 16:33:23 +03:00
committed by bugmaster
parent c50591ee21
commit 42a9dcfc64
10 changed files with 5 additions and 55 deletions

View File

@@ -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++;