diff options
author | 2017-03-02 19:09:03 -0500 | |
---|---|---|
committer | 2017-03-02 19:09:03 -0500 | |
commit | e27a978955f4a849b7c11ae0bb0fbc6a2bcdd9af (patch) | |
tree | beab3419dbe6363d1dd7932109b54c51518c0b29 | |
parent | c92454b8cd9e126250e238798f03ebc199833ed1 (diff) |
No, Vas, defaulting the constructor won't do here (nw)
-rw-r--r-- | src/emu/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/device.h b/src/emu/device.h index 6a2229051e0..aa0de3f77a3 100644 --- a/src/emu/device.h +++ b/src/emu/device.h @@ -120,7 +120,8 @@ public: pointer m_type = nullptr; }; - device_registrar() = default; + // explicit constructor is required for const variable initialization + constexpr device_registrar() { } const_iterator begin() const { return cbegin(); } const_iterator end() const { return cend(); } |