From 73653dc8a2b9683571b16458970f280255529b19 Mon Sep 17 00:00:00 2001 From: RLN and KGV <> Date: Wed, 6 Jul 2011 08:33:05 +0000 Subject: [PATCH] OCC22544 Fixed IsEqual from Standard --- src/Standard/Standard_CString.hxx | 11 ----------- src/Standard/Standard_ExtString.hxx | 21 --------------------- 2 files changed, 32 deletions(-) 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 - - - - - -