summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-20 15:19:13 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-20 15:19:13 -0400
commit09ab2226587fd622a5b73be21b88e4cad69adbd7 (patch)
treeaa831fe8fd480113764b24b9e10d2f57cb479a1c
parent182028ea82ed42088c92efc8eb75974668b2b839 (diff)
Try to fix the build once again (nw)
-rw-r--r--src/emu/machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine.h b/src/emu/machine.h
index 0004b01e4ac..88132ef8f2d 100644
--- a/src/emu/machine.h
+++ b/src/emu/machine.h
@@ -211,7 +211,7 @@ public:
// fetch items by name
[[deprecated("absolute tag lookup; use subdevice or finder instead")]] inline device_t *device(const char *tag) const { return root_device().subdevice(tag); }
- [[deprecated("absolute tag lookup; use subdevice or finder instead")]] template <class DeviceClass> inline DeviceClass *device(const char *tag) { return downcast<DeviceClass *>(device(tag)); }
+ template <class DeviceClass> [[deprecated("absolute tag lookup; use subdevice or finder instead")]] inline DeviceClass *device(const char *tag) { return downcast<DeviceClass *>(device(tag)); }
// immediate operations
int run(bool quiet);