diff options
author | 2015-12-17 11:10:30 +0100 | |
---|---|---|
committer | 2015-12-17 11:10:30 +0100 | |
commit | 174720a64ddeed98078139dc0e4dd7aed15f91d4 (patch) | |
tree | b22e4fb4f1a210751cadc5aa01d73113b8e9857f /src/emu/ui/ui.cpp | |
parent | be38cd71bb958d651ba91db8db439edc9c31b21e (diff) |
removed auto_bitmap_ind*_alloc and auto_bitmap_rgb32_alloc and replaced with std::unique_ptr (nw)
auto_alloc_array to unique_ptr
Added make_unique_clear
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r-- | src/emu/ui/ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp index 3a016b25b10..39eeb6e5edb 100644 --- a/src/emu/ui/ui.cpp +++ b/src/emu/ui/ui.cpp @@ -244,7 +244,7 @@ ui_manager::ui_manager(running_machine &machine) // more initialization set_handler(handler_messagebox, 0); - m_non_char_keys_down = auto_alloc_array(machine, UINT8, (ARRAY_LENGTH(non_char_keys) + 7) / 8); + m_non_char_keys_down = std::make_unique<UINT8[]>((ARRAY_LENGTH(non_char_keys) + 7) / 8); m_mouse_show = machine.system().flags & MACHINE_CLICKABLE_ARTWORK ? true : false; // request a callback upon exiting |