summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/distate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/distate.h')
-rw-r--r--src/emu/distate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/distate.h b/src/emu/distate.h
index 743b2f8d670..0564c42070b 100644
--- a/src/emu/distate.h
+++ b/src/emu/distate.h
@@ -127,6 +127,7 @@ public:
: device_state_entry(index, symbol, sizeof(ItemType), std::numeric_limits<ItemType>::max(), dev),
m_data(data)
{
+ static_assert(std::is_integral<ItemType>().value, "Registration of non-integer types is not currently supported");
}
protected: