summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_4076.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-09-24 07:53:11 +0200
committer couriersud <couriersud@gmx.org>2020-09-24 15:22:22 +0200
commit1bb99466bcfa188bca00855f80bd6098b0882419 (patch)
tree57b4b8d68d6efdeb18d424e4ef4a353a011d6fe8 /src/lib/netlist/devices/nld_4076.cpp
parent2fb9f38b83270cac34428738313cd2eee79f421e (diff)
netlist: code refactoring
* use default move and copy constructors * various minor edits like adding noexcept * removed a lot of inline keywords - you can't beat the compiler
Diffstat (limited to 'src/lib/netlist/devices/nld_4076.cpp')
-rw-r--r--src/lib/netlist/devices/nld_4076.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/devices/nld_4076.cpp b/src/lib/netlist/devices/nld_4076.cpp
index b4430390b31..a69d02e2d54 100644
--- a/src/lib/netlist/devices/nld_4076.cpp
+++ b/src/lib/netlist/devices/nld_4076.cpp
@@ -74,12 +74,12 @@ namespace devices
}
private:
- inline NETLIB_HANDLERI(id)
+ NETLIB_HANDLERI(id)
{
m_enable_in = (!(m_ID1() || m_ID2()));
}
- inline NETLIB_HANDLERI(clk)
+ NETLIB_HANDLERI(clk)
{
if ((!m_clk_old) && m_CLK() && m_enable_in) // clock rising edge and input is enabled; otherwise the latch just re-latches its own value
{
@@ -94,7 +94,7 @@ namespace devices
}
}
- inline NETLIB_HANDLERI(od)
+ NETLIB_HANDLERI(od)
{
m_enable_out = (!(m_OD1() || m_OD2()));
// update the pin output state