diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-07-01 00:05:13 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-07-01 00:07:23 -0400 |
commit | 2c298ab197f7c7a5b8093ced690ea7754a4d7728 (patch) | |
tree | 1d3085d9f7a4c9efe83a129fd715b8b4f54c3bbf /src/mame | |
parent | 85228e6f917a19b530b206c063ed81281f71002b (diff) |
pockstat.cpp: Workaround for build error caused by C++14's failure to inline constexpr variables (nw)
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/drivers/pockstat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/pockstat.cpp b/src/mame/drivers/pockstat.cpp index b21afa92105..9d1c6e7d240 100644 --- a/src/mame/drivers/pockstat.cpp +++ b/src/mame/drivers/pockstat.cpp @@ -89,7 +89,6 @@ private: memory_region *m_cart_rom; static constexpr uint32_t TIMER_COUNT = 3; - static constexpr uint32_t DEFAULT_CLOCK = 2000000; enum : uint32_t { @@ -983,6 +982,8 @@ DEVICE_IMAGE_LOAD_MEMBER(pockstat_state::flash_load) void pockstat_state::pockstat(machine_config &config) { + static constexpr uint32_t DEFAULT_CLOCK = 2000000; + /* basic machine hardware */ ARM7(config, m_maincpu, DEFAULT_CLOCK); m_maincpu->set_addrmap(AS_PROGRAM, &pockstat_state::mem_map); |