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:
@@ -305,7 +305,7 @@ public:
|
||||
|
||||
const wxPGProperty* GetFirst( int flags = wxPG_ITERATE_ALL ) const
|
||||
{
|
||||
return const_cast<const wxPGProperty*>(GetFirst(flags));
|
||||
return GetFirst(flags);
|
||||
}
|
||||
|
||||
// Returns pointer to a property with given name (case-sensitive).
|
||||
|
Reference in New Issue
Block a user