diff options
author | 2019-11-10 04:08:29 +1100 | |
---|---|---|
committer | 2019-11-10 04:08:29 +1100 | |
commit | 13b1ebb1b4512ba808cdc5dfbdac61ed0d755d8c (patch) | |
tree | 0be119271371bb88d200c5ec598c189e88218e8d /src/devices/imagedev/bitbngr.h | |
parent | 1b2acde80819ca6917c248e496725158ed4fe12e (diff) |
start putting noexcept on things that have no business throwing exceptions, starting with diimage. also fix a slight bug in the interface matching function for software list parts. (nw)
Diffstat (limited to 'src/devices/imagedev/bitbngr.h')
-rw-r--r-- | src/devices/imagedev/bitbngr.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/imagedev/bitbngr.h b/src/devices/imagedev/bitbngr.h index 2a2a72dd9a6..ad9e45e1d86 100644 --- a/src/devices/imagedev/bitbngr.h +++ b/src/devices/imagedev/bitbngr.h @@ -25,16 +25,16 @@ public: virtual void call_unload() override; // image device - virtual iodevice_t image_type() const override { return IO_SERIAL; } - virtual bool is_readable() const override { return 1; } - virtual bool is_writeable() const override { return !m_is_readonly; } - virtual bool is_creatable() const override { return !m_is_readonly; } - virtual bool must_be_loaded() const override { return 0; } - virtual bool is_reset_on_load() const override { return 0; } - virtual const char *image_interface() const override { return m_interface; } - virtual const char *file_extensions() const override { return ""; } - virtual const char *custom_instance_name() const override { return "bitbanger"; } - virtual const char *custom_brief_instance_name() const override { return "bitb"; } + virtual iodevice_t image_type() const noexcept override { return IO_SERIAL; } + virtual bool is_readable() const noexcept override { return true; } + virtual bool is_writeable() const noexcept override { return !m_is_readonly; } + virtual bool is_creatable() const noexcept override { return !m_is_readonly; } + virtual bool must_be_loaded() const noexcept override { return false; } + virtual bool is_reset_on_load() const noexcept override { return false; } + virtual const char *image_interface() const noexcept override { return m_interface; } + virtual const char *file_extensions() const noexcept override { return ""; } + virtual const char *custom_instance_name() const noexcept override { return "bitbanger"; } + virtual const char *custom_brief_instance_name() const noexcept override { return "bitb"; } void output(uint8_t data); uint32_t input(void *buffer, uint32_t length); |