summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/keyboard.h')
-rw-r--r--src/devices/machine/keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/keyboard.h b/src/devices/machine/keyboard.h
index 79a91f923c9..b75f342b3ac 100644
--- a/src/devices/machine/keyboard.h
+++ b/src/devices/machine/keyboard.h
@@ -21,8 +21,8 @@ INPUT_PORTS_EXTERN( generic_keyboard );
class generic_keyboard_device : public device_t
{
public:
- generic_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- generic_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ generic_keyboard_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ generic_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_keyboard_callback(device_t &device, _Object object) { return downcast<generic_keyboard_device &>(device).m_keyboard_cb.set_callback(object); }