Why C++14 constexpr semantics are annoying, part ODR (nw)

This commit is contained in:
AJR 2018-08-07 16:18:17 -04:00
parent c2154ffb76
commit 2e3e3ccb65

View File

@ -23,7 +23,7 @@ void policetr_state::video_start()
m_srcbitmap_height_mask = (m_srcbitmap.bytes() / SRCBITMAP_WIDTH) - 1;
/* the destination bitmap is not directly accessible to the CPU */
m_dstbitmap = std::make_unique<bitmap_ind8>(DSTBITMAP_WIDTH, DSTBITMAP_HEIGHT);
m_dstbitmap = std::make_unique<bitmap_ind8>(+DSTBITMAP_WIDTH, +DSTBITMAP_HEIGHT);
save_item(NAME(m_palette_offset));
save_item(NAME(m_palette_index));