mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Changed a variable declaration to be 'auto'
This commit is contained in:
parent
3d454f8c97
commit
749e182a80
@ -358,7 +358,7 @@ void menu::item_append(std::string &&text, std::string &&subtext, UINT32 flags,
|
||||
pitem.type = type;
|
||||
|
||||
// append to array
|
||||
int index = item.size();
|
||||
auto index = item.size();
|
||||
if (!item.empty())
|
||||
{
|
||||
item.insert(item.end() - 1, pitem);
|
||||
|
Loading…
Reference in New Issue
Block a user