From 1bb99466bcfa188bca00855f80bd6098b0882419 Mon Sep 17 00:00:00 2001 From: couriersud Date: Thu, 24 Sep 2020 07:53:11 +0200 Subject: 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 --- src/lib/netlist/devices/nld_4029.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/netlist/devices/nld_4029.cpp') 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()) -- cgit v1.2.3-70-g09d2