diff options
author | 2020-09-24 07:53:11 +0200 | |
---|---|---|
committer | 2020-09-24 15:22:22 +0200 | |
commit | 1bb99466bcfa188bca00855f80bd6098b0882419 (patch) | |
tree | 57b4b8d68d6efdeb18d424e4ef4a353a011d6fe8 /src/lib/netlist/devices/nld_4029.cpp | |
parent | 2fb9f38b83270cac34428738313cd2eee79f421e (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_4029.cpp')
-rw-r--r-- | src/lib/netlist/devices/nld_4029.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/devices/nld_4029.cpp b/src/lib/netlist/devices/nld_4029.cpp index 2e18ba9f4e1..a3de0e7192b 100644 --- a/src/lib/netlist/devices/nld_4029.cpp +++ b/src/lib/netlist/devices/nld_4029.cpp @@ -153,7 +153,7 @@ namespace devices } private: - inline NETLIB_HANDLERI(inputs) // pe causes an asynchronous counter load on level so has to be handled separately; if pe is high, then J changing will asynchronously change the Q state. changing J in this state does affect CO as well; CI will affect CO asynchronously if there is currently a carry + NETLIB_HANDLERI(inputs) // pe causes an asynchronous counter load on level so has to be handled separately; if pe is high, then J changing will asynchronously change the Q state. changing J in this state does affect CO as well; CI will affect CO asynchronously if there is currently a carry { if (m_PE()) { @@ -178,7 +178,7 @@ namespace devices } } - inline NETLIB_HANDLERI(clk) + NETLIB_HANDLERI(clk) { // clocking only happens if m_clk_old was low, m_CLK is high, m_PE is NOT high, and m_CI is NOT high. if (!m_PE() && !m_CI() && !m_clk_old && m_CLK()) |