mirror of
https://github.com/holub/mame
synced 2025-10-07 01:16:22 +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;
|
pitem.type = type;
|
||||||
|
|
||||||
// append to array
|
// append to array
|
||||||
int index = item.size();
|
auto index = item.size();
|
||||||
if (!item.empty())
|
if (!item.empty())
|
||||||
{
|
{
|
||||||
item.insert(item.end() - 1, pitem);
|
item.insert(item.end() - 1, pitem);
|
||||||
|
Loading…
Reference in New Issue
Block a user