mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0026069: Coding Rules - eliminate new warnings about redundant const qualifier in SelectMgr
SelectMgr_SensitiveEntity is now inherited from Standard_Transient; Redundant const type qualifiers were removed from selection classes.
This commit is contained in:
@@ -117,7 +117,7 @@ void SelectMgr_ToleranceMap::Decrement (const Standard_Real& theTolerance)
|
||||
}
|
||||
}
|
||||
|
||||
const Standard_Real SelectMgr_ToleranceMap::Largest()
|
||||
Standard_Real SelectMgr_ToleranceMap::Largest()
|
||||
{
|
||||
return myLargestKey;
|
||||
}
|
||||
@@ -302,7 +302,7 @@ void SelectMgr_ViewerSelector::traverseObject (const Handle(SelectMgr_Selectable
|
||||
Standard_Integer anEndIdx = aSensitivesTree->EndPrimitive (aNode);
|
||||
for (Standard_Integer anIdx = aStartIdx; anIdx <= anEndIdx; ++anIdx)
|
||||
{
|
||||
const SelectMgr_HSensitiveEntity& aSensitive =
|
||||
const Handle(SelectMgr_SensitiveEntity)& aSensitive =
|
||||
anEntitySet->GetSensitiveById (anIdx);
|
||||
if (aSensitive->IsActiveForSelection())
|
||||
{
|
||||
|
Reference in New Issue
Block a user