diff options
author | couriersud <couriersud@gmx.org> | 2017-01-10 23:57:51 +0100 |
---|---|---|
committer | couriersud <couriersud@gmx.org> | 2017-01-12 23:20:23 +0100 |
commit | b1c358678964630c1282953c1a80407997eae203 (patch) | |
tree | a5532543425133c88ddadb6a077afda6d09be5d2 /src/lib/netlist/nl_lists.h | |
parent | c8c7e9a770a525a63a0f40bccdf0489966cfdc25 (diff) |
Improve readability and remove some trampolines. (nw)
Diffstat (limited to 'src/lib/netlist/nl_lists.h')
-rw-r--r-- | src/lib/netlist/nl_lists.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/nl_lists.h b/src/lib/netlist/nl_lists.h index e1fdbd10986..ea4d5ea12b3 100644 --- a/src/lib/netlist/nl_lists.h +++ b/src/lib/netlist/nl_lists.h @@ -47,7 +47,7 @@ namespace netlist std::size_t capacity() const { return m_list.size(); } bool empty() const { return (m_end == &m_list[1]); } - void push(const Time t, Element o) noexcept + void push(Element o, const Time t) noexcept { #if HAS_OPENMP && USE_OPENMP /* Lock */ @@ -97,10 +97,10 @@ namespace netlist #endif } - void retime(const Time t, const Element &elem) noexcept + void retime(const Element &elem, const Time t) noexcept { remove(elem); - push(t, elem); + push(elem, t); } void clear() |