mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: use Reassign of the scoped pointer to improve readability
Note: it is equivalent to a basic assignment due to operator overloading
This commit is contained in:
parent
826319ce34
commit
2b06d34279
|
@ -546,7 +546,7 @@ void Panels::PluginSelectorPanel::DoRefresh()
|
|||
wxCommandEvent evt( pxEVT_ShowStatusBar );
|
||||
GetEventHandler()->AddPendingEvent( evt );
|
||||
|
||||
m_EnumeratorThread.Delete() = new EnumThread( *this );
|
||||
m_EnumeratorThread.Reassign(new EnumThread( *this ));
|
||||
|
||||
if( DisableThreading )
|
||||
m_EnumeratorThread->DoNextPlugin( 0 );
|
||||
|
|
Loading…
Reference in New Issue