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:
@@ -412,7 +412,7 @@ public:
|
||||
|
||||
const wxPGProperty* GetLastItem( int flags = wxPG_ITERATE_DEFAULT ) const
|
||||
{
|
||||
return const_cast<const wxPGProperty*>(GetLastItem(flags));
|
||||
return GetLastItem(flags);
|
||||
}
|
||||
|
||||
// Returns currently selected property.
|
||||
|
Reference in New Issue
Block a user