summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/ui.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-09-30 14:10:43 +1000
committer Vas Crabb <vas@vastheman.com>2020-09-30 14:10:43 +1000
commit3b59cb8860bff4c8fe59c468c612b8a0236acdb6 (patch)
tree3c4ed295136103ff787e9981e67c987c453afcf5 /src/frontend/mame/ui/ui.cpp
parentdfb6ab880bb90a8dbdd356b2ab2580b55e4b9973 (diff)
-Got rid of most of the remaining problematic uses of make_unique_clear.
-sound/discrete.cpp: Use C++ std::vector and range-based for.
Diffstat (limited to 'src/frontend/mame/ui/ui.cpp')
-rw-r--r--src/frontend/mame/ui/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/ui.cpp b/src/frontend/mame/ui/ui.cpp
index c229110caac..6e4ed7f3552 100644
--- a/src/frontend/mame/ui/ui.cpp
+++ b/src/frontend/mame/ui/ui.cpp
@@ -1487,7 +1487,7 @@ std::vector<ui::menu_item>& mame_ui_manager::get_slider_list(void)
std::unique_ptr<slider_state> mame_ui_manager::slider_alloc(int id, const char *title, int32_t minval, int32_t defval, int32_t maxval, int32_t incval, void *arg)
{
- auto state = make_unique_clear<slider_state>();
+ auto state = std::make_unique<slider_state>();
state->minval = minval;
state->defval = defval;