1
0
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:
vpa
2015-04-23 01:12:55 +03:00
committed by bugmaster
parent e99a2f7cae
commit 7ab159522a
25 changed files with 275 additions and 269 deletions

View File

@@ -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())
{