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:
Gregory Hainaut 2015-10-21 20:08:45 +02:00
parent 826319ce34
commit 2b06d34279
1 changed files with 1 additions and 1 deletions

View File

@ -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 );