From: RLN and KGV <> Date: Wed, 6 Jul 2011 08:33:05 +0000 (+0000) Subject: OCC22544 Fixed IsEqual from Standard X-Git-Tag: V6_5_2~75 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=73653dc8a2b9683571b16458970f280255529b19;p=occt-copy.git OCC22544 Fixed IsEqual from Standard --- diff --git a/src/Standard/Standard_CString.hxx b/src/Standard/Standard_CString.hxx index a1caadfe0c..1108fd7ed3 100755 --- a/src/Standard/Standard_CString.hxx +++ b/src/Standard/Standard_CString.hxx @@ -33,8 +33,6 @@ inline Standard_Integer Abs (const Standard_Integer); inline Standard_CString ShallowCopy (const Standard_CString Value); inline Standard_Boolean IsSimilar(const Standard_CString One ,const Standard_CString Two); -inline Standard_Boolean IsEqual(const Standard_CString One - ,const Standard_CString Two); __Standard_API Standard_Integer HashCode (const Standard_CString, const Standard_Integer); inline Standard_Integer HashCode (const Standard_CString, @@ -80,15 +78,6 @@ inline Standard_Boolean IsSimilar(const Standard_CString One return (strcmp(One,Two) == 0); } -//============================================================================ -// IsEqual : Returns Standard_True if two CString have the same value -//============================================================================ -inline Standard_Boolean IsEqual(const Standard_CString One - ,const Standard_CString Two) -{ - return (One == Two); -} - //============================================================================ //==== HashCode of CString. Returns the HashCode itself and //==== the HashCode % Upper diff --git a/src/Standard/Standard_ExtString.hxx b/src/Standard/Standard_ExtString.hxx index cc0a15aed8..f3c1a0f443 100755 --- a/src/Standard/Standard_ExtString.hxx +++ b/src/Standard/Standard_ExtString.hxx @@ -31,25 +31,4 @@ inline Standard_ExtString ShallowCopy (const Standard_ExtString Value) //============================================================================ __Standard_API Standard_Integer HashCode (const Standard_ExtString, const Standard_Integer); -//============================================================================ -//==== IsSimilar : Returns Standard_True if two booleans have the same value -//============================================================================ -inline Standard_Boolean IsSimilar(const Standard_ExtString One - ,const Standard_ExtString Two) -{ return One == Two; } - -//============================================================================ -// IsEqual : Returns Standard_True if two ExtString have the same value -//============================================================================ -inline Standard_Boolean IsEqual(const Standard_ExtString One - ,const Standard_ExtString Two) -{ return One == Two; } - - #endif - - - - - -