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:
@@ -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
|
Reference in New Issue
Block a user