Skip to content

Commit

Permalink
Merge pull request #1 from saltzm/master
Browse files Browse the repository at this point in the history
  • Loading branch information
lewissbaker authored Jan 27, 2023
2 parents e9d7250 + 221ec17 commit 748e354
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/disruptorplus/sequence_barrier_group.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ namespace disruptorplus
{
assert(!m_sequences.empty());

size_t count = m_sequences.size();

sequence_t current = minimum_sequence_after(sequence, count, m_sequences.data());
if (difference(current, sequence) >= 0)
{
Expand Down Expand Up @@ -199,6 +201,8 @@ namespace disruptorplus
{
assert(!m_sequences.empty());

size_t count = m_sequences.size();

sequence_t current = minimum_sequence_after(sequence, count, m_sequences.data());
if (difference(current, sequence) >= 0)
{
Expand Down

0 comments on commit 748e354

Please sign in to comment.