Get rid of unnecessary const casts
A pointer to unqualified type are converted implicitly to a more cv-qualified type.
This commit is contained in:
@@ -270,7 +270,7 @@ public:
|
||||
const wxPropertyGrid* GetGrid() const
|
||||
{
|
||||
wxASSERT(m_pPropGrid);
|
||||
return const_cast<const wxPropertyGrid*>(m_pPropGrid);
|
||||
return m_pPropGrid;
|
||||
}
|
||||
|
||||
// Returns iterator class instance.
|
||||
|
Reference in New Issue
Block a user