summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_74113.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/devices/nld_74113.cpp')
-rw-r--r--src/lib/netlist/devices/nld_74113.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/lib/netlist/devices/nld_74113.cpp b/src/lib/netlist/devices/nld_74113.cpp
index d4fc729b2bc..32f96d87c12 100644
--- a/src/lib/netlist/devices/nld_74113.cpp
+++ b/src/lib/netlist/devices/nld_74113.cpp
@@ -1,4 +1,4 @@
-// license:GPL-2.0+
+// license:BSD-3-Clause
// copyright-holders:Couriersud
/*
* nld_74113.cpp
@@ -62,10 +62,8 @@
// FIXME: this can probably be merged with nld_7473.cpp
// FIXME: timing, see 74107 for example, use template
-namespace netlist
-{
- namespace devices
- {
+namespace netlist::devices {
+
NETLIB_OBJECT(74113)
{
NETLIB_CONSTRUCTOR(74113)
@@ -136,14 +134,9 @@ namespace netlist
nld_power_pins m_power_pins;
};
- NETLIB_OBJECT_DERIVED(74113A, 74113)
- {
- NETLIB_CONSTRUCTOR(74113A) { }
-
- };
+ using NETLIB_NAME(74113A) = NETLIB_NAME(74113);
NETLIB_DEVICE_IMPL(74113, "TTL_74113", "+CLK,+J,+K,+CLRQ,@VCC,@GND")
NETLIB_DEVICE_IMPL(74113A, "TTL_74113A", "+CLK,+J,+K,+CLRQ,@VCC,@GND")
- } //namespace devices
-} // namespace netlist
+} // namespace netlist::devices