diff options
author | Nathan Woods <npwoods@mess.org> | 2016-06-30 05:57:16 -0400 |
---|---|---|
committer | Nathan Woods <npwoods@mess.org> | 2016-06-30 05:57:16 -0400 |
commit | 749e182a806d9e234e075f147cf282b5063abc45 (patch) | |
tree | 6552b58698e1e5f5951369ed34ebcb2880d5ab7f | |
parent | 3d454f8c97ca0704a4bdc5b297de52efe26a2863 (diff) |
Changed a variable declaration to be 'auto'
-rw-r--r-- | src/frontend/mame/ui/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp index ecd6effb83e..04a7a271609 100644 --- a/src/frontend/mame/ui/menu.cpp +++ b/src/frontend/mame/ui/menu.cpp @@ -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); |