mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
More range-based loops and overrides
This commit is contained in:
@ -24,11 +24,10 @@ InputPlugin *GetPlugin()
|
||||
|
||||
void Shutdown()
|
||||
{
|
||||
std::vector<ControllerEmu*>::const_iterator
|
||||
i = g_plugin.controllers.begin(),
|
||||
e = g_plugin.controllers.end();
|
||||
for ( ; i!=e; ++i )
|
||||
delete *i;
|
||||
for (const ControllerEmu* i : g_plugin.controllers)
|
||||
{
|
||||
delete i;
|
||||
}
|
||||
g_plugin.controllers.clear();
|
||||
|
||||
WiimoteReal::Stop();
|
||||
|
Reference in New Issue
Block a user