No real changes, just use const_cast<> instead of C casts.
Replace many comments indicating that the C cast used was really a const_cast<> with the proper cast itself. There is no reason to not use it any longer, all the supported compilers understand it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3227,7 +3227,7 @@ void wxCSConv::CreateConvIfNeeded() const
|
||||
{
|
||||
if ( m_deferred )
|
||||
{
|
||||
wxCSConv *self = (wxCSConv *)this; // const_cast
|
||||
wxCSConv *self = const_cast<wxCSConv *>(this);
|
||||
|
||||
// if we don't have neither the name nor the encoding, use the default
|
||||
// encoding for this system
|
||||
|
Reference in New Issue
Block a user