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

0024567: Coding rules - eliminate GCC warning -Wignored-qualifiers

Redundant const qualifiers of return types of functions returning values are removed
This commit is contained in:
abv
2015-11-07 21:19:03 +03:00
parent cda9a0d4c2
commit 487bf1ceaa
52 changed files with 92 additions and 220 deletions

View File

@@ -122,7 +122,7 @@ Handle(SelectMgr_SensitiveEntity)& SelectMgr_Selection::GetEntityById (const Sta
// function: GetSelectionState
// purpose : Returns status of selection
//==================================================
const SelectMgr_StateOfSelection SelectMgr_Selection::GetSelectionState() const
SelectMgr_StateOfSelection SelectMgr_Selection::GetSelectionState() const
{
return mySelectionState;
}

View File

@@ -124,7 +124,7 @@ public:
SelectMgr_TypeOfBVHUpdate BVHUpdateStatus() const;
//! Returns status of selection
Standard_EXPORT const SelectMgr_StateOfSelection GetSelectionState() const;
Standard_EXPORT SelectMgr_StateOfSelection GetSelectionState() const;
//! Sets status of selection
Standard_EXPORT void SetSelectionState (const SelectMgr_StateOfSelection theState) const;