diff options
| author | 2015-12-03 11:40:45 +0100 | |
|---|---|---|
| committer | 2015-12-03 11:40:45 +0100 | |
| commit | 92f81361d64c720addf5d7e2528b3d1c675f65a4 (patch) | |
| tree | 6640e797a7dd924e20f10ab0f009257e1d751fc8 /src/emu/digfx.cpp | |
| parent | 39afa0533a1349566aa7f144e042b24227285e9f (diff) | |
Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic]
Diffstat (limited to 'src/emu/digfx.cpp')
| -rw-r--r-- | src/emu/digfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/digfx.cpp b/src/emu/digfx.cpp index d21a3ea0158..65e1224c061 100644 --- a/src/emu/digfx.cpp +++ b/src/emu/digfx.cpp @@ -276,7 +276,7 @@ void device_gfx_interface::decode_gfx(const gfx_decode_entry *gfxdecodeinfo) } // allocate the graphics - m_gfx[curgfx].reset(global_alloc(gfx_element(m_palette, glcopy, (region_base != NULL) ? region_base + gfx.start : NULL, xormask, gfx.total_color_codes, gfx.color_codes_start))); + m_gfx[curgfx] = std::make_unique<gfx_element>(m_palette, glcopy, (region_base != NULL) ? region_base + gfx.start : NULL, xormask, gfx.total_color_codes, gfx.color_codes_start); } m_decoded = true; |
