Commit 5718fc36 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

core: fix typo

parent 7e7f0ae3
Pipeline #34196 failed with stage
in 19 seconds
......@@ -2594,9 +2594,9 @@ public:
return m_max_size;
}
constexpr bool can_alloc(std::size_t place) const noexcept
constexpr bool can_alloc(const sz nb) const noexcept
{
return m_capacity - m_max_size >= place;
return m_capacity - m_max_size >= nb;
}
constexpr bool can_alloc() const noexcept
......@@ -5297,7 +5297,6 @@ struct accumulator
status transition(time /*t*/, time /*e*/, time /*r*/) noexcept
{
for (size_t i = 0; i != PortNumber; ++i)
for (const auto& msg : x[i + PortNumber].messages)
numbers[i] = msg[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment