mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Changed a variable declaration to be 'auto'
This commit is contained in:
parent
3d454f8c97
commit
749e182a80
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue