mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
fix build for VS 2013 and earlier.
reference http://stackoverflow.com/questions/22212737/strange-syntax-error-reported-in-a-range-based-for-loop
This commit is contained in:
parent
547efb0146
commit
8f58489dbe
@ -279,7 +279,9 @@ void cassette_close(cassette_image *cassette)
|
||||
if ((cassette->flags & CASSETTE_FLAG_DIRTY) && (cassette->flags & CASSETTE_FLAG_SAVEONEXIT))
|
||||
cassette_save(cassette);
|
||||
for (auto & elem : cassette->blocks)
|
||||
{
|
||||
global_free(elem);
|
||||
}
|
||||
global_free(cassette);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user