1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]

This commit is contained in:
abv
2015-11-20 21:04:11 +03:00
committed by bugmaster
parent 4d8eca1dce
commit 79104795a1
700 changed files with 2920 additions and 2904 deletions

View File

@@ -64,10 +64,10 @@ public:
//! complex and needs to pre-build BVH at the creation of
//! sensitive entity step or is light-weighted so the tree
//! can be build on demand with unnoticeable delay
virtual Standard_Integer NbSubElements() = 0;
virtual Standard_Integer NbSubElements() Standard_OVERRIDE = 0;
//! Returns bounding box of a sensitive with transformation applied
virtual Select3D_BndBox3d BoundingBox() = 0;
virtual Select3D_BndBox3d BoundingBox() Standard_OVERRIDE = 0;
//! Returns center of a sensitive with transformation applied
virtual gp_Pnt CenterOfGeometry() const = 0;
@@ -83,7 +83,7 @@ public:
//! Returns inversed location transformation matrix if the shape corresponding
//! to this entity has init location set. Otherwise, returns identity matrix.
Standard_EXPORT virtual gp_Trsf InvInitLocation() const;
Standard_EXPORT virtual gp_Trsf InvInitLocation() const Standard_OVERRIDE;
DEFINE_STANDARD_RTTI(Select3D_SensitiveEntity, SelectBasics_SensitiveEntity)

View File

@@ -67,7 +67,7 @@ public:
//! Removes all sensitive entities from the list used at the
//! time of construction, or added using the function Add.
Standard_EXPORT void Clear();
Standard_EXPORT void Clear() Standard_OVERRIDE;
//! Returns true if the sensitive entity aSensitive is in
//! the list used at the time of construction, or added using the function Add.
@@ -92,7 +92,7 @@ public:
Standard_EXPORT virtual Handle(Select3D_SensitiveEntity) GetConnected() Standard_OVERRIDE;
//! Sets the owner for all entities in group
Standard_EXPORT void Set (const Handle(SelectBasics_EntityOwner)& theOwnerId);
Standard_EXPORT void Set (const Handle(SelectBasics_EntityOwner)& theOwnerId) Standard_OVERRIDE;
//! Gets group content
const Select3D_EntitySequence& GetEntities() const;

View File

@@ -70,7 +70,7 @@ public:
//! Must be called manually to build BVH tree for any sensitive set
//! in case if its content was initialized not in a constructor,
//! but element by element
Standard_EXPORT void BVH();
Standard_EXPORT void BVH() Standard_OVERRIDE;
//! Marks BVH tree of the set as outdated. It will be rebuild
//! at the next call of BVH()

View File

@@ -52,7 +52,7 @@ public:
Standard_EXPORT const NCollection_Vector<Handle(Select3D_SensitiveEntity)>& GetEdges();
//! Sets the owner for all entities in wire
Standard_EXPORT void Set (const Handle(SelectBasics_EntityOwner)& theOwnerId);
Standard_EXPORT void Set (const Handle(SelectBasics_EntityOwner)& theOwnerId) Standard_OVERRIDE;
Standard_EXPORT Handle(Select3D_SensitiveEntity) GetLastDetected() const;