diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2022-02-17 17:28:31 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2022-02-17 17:28:31 -0500 |
commit | 2db924e5ec91c90b257eda774034e8b78a4a66c2 (patch) | |
tree | bbe2d5ba4614fc95f37404815142898f113c2bb0 /src/frontend/mame/ui | |
parent | 5668cd4d793f62bb5e8e9cb1fd05cae861cfef77 (diff) |
fileio.cpp: Remove optional second argument of path_iterator::next
Diffstat (limited to 'src/frontend/mame/ui')
-rw-r--r-- | src/frontend/mame/ui/dirmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mame/ui/dirmenu.cpp b/src/frontend/mame/ui/dirmenu.cpp index 32916d6e8f0..920a847c001 100644 --- a/src/frontend/mame/ui/dirmenu.cpp +++ b/src/frontend/mame/ui/dirmenu.cpp @@ -183,7 +183,7 @@ void menu_display_actual::populate(float &customtop, float &custombottom) path_iterator path(m_searchpath); std::string curpath; m_folders.clear(); - while (path.next(curpath, nullptr)) + while (path.next(curpath)) m_folders.push_back(curpath); item_append((s_folders[m_ref].action == CHANGE) ? _("Change Folder") : _("Add Folder"), 0, (void *)ADD_CHANGE); @@ -238,7 +238,7 @@ menu_add_change_folder::menu_add_change_folder(mame_ui_manager &mui, render_cont path_iterator path(searchpath); std::string curpath; - while (path.next(curpath, nullptr)) + while (path.next(curpath)) m_folders.push_back(curpath); } @@ -464,7 +464,7 @@ menu_remove_folder::menu_remove_folder(mame_ui_manager &mui, render_container &c path_iterator path(m_searchpath); std::string curpath; - while (path.next(curpath, nullptr)) + while (path.next(curpath)) m_folders.push_back(curpath); } |