summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74145.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74145.cpp')
-rw-r--r--src/devices/machine/74145.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/machine/74145.cpp b/src/devices/machine/74145.cpp
index e2ffeedf9f4..922fa104885 100644
--- a/src/devices/machine/74145.cpp
+++ b/src/devices/machine/74145.cpp
@@ -1,4 +1,4 @@
-// license:GPL-2.0+
+// license:BSD-3-Clause
// copyright-holders:Dirk Best
/*****************************************************************************
*
@@ -61,7 +61,7 @@ DEFINE_DEVICE_TYPE(TTL74145, ttl74145_device, "ttl74145", "TTL74145")
ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, TTL74145, tag, owner, clock)
- , m_output_line_cb{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}}
+ , m_output_line_cb(*this)
, m_number(0)
{
}
@@ -73,10 +73,6 @@ ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag,
void ttl74145_device::device_start()
{
- /* resolve callbacks */
- for (std::size_t bit = 0; bit < 10; bit++)
- m_output_line_cb[bit].resolve_safe();
-
// register for state saving
save_item(NAME(m_number));
}