1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0023310: No IsEqual function for Handles

IsEqual function for Handle(Standard_Transient) was added to global scope.
Getting rid of compilation errors (removed additional IsEqual functions)
This commit is contained in:
omy
2013-02-01 16:47:50 +04:00
parent 9e3758ca29
commit 024855ee13
5 changed files with 10 additions and 52 deletions

View File

@@ -32,9 +32,6 @@ class TopoDS_Shape;
//! This class is used to create and store mutexes associated with shapes.
class TopTools_MutexForShapeProvider
{
friend Standard_Boolean IsEqual(const Handle_TopoDS_TShape & theFirstHandle,
const Handle_TopoDS_TShape & theSecondHandle);
public:
//! Constructor
Standard_EXPORT TopTools_MutexForShapeProvider();
@@ -66,10 +63,4 @@ private:
};
inline Standard_Boolean IsEqual(const Handle_TopoDS_TShape & theFirstHandle,
const Handle_TopoDS_TShape & theSecondHandle)
{
return (theFirstHandle == theSecondHandle);
}
#endif