Skip to content

Commit

Permalink
Update single header
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbrindle authored and github-actions[bot] committed Mar 14, 2024
1 parent cfa01fc commit 6719d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single_include/flux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ struct indexed_bounds_check_fn {
}
}
#endif
assert_fn{}(idx >= T{0}, "index cannot be negative", std::move(loc));
assert_fn{}(idx < limit, "out-of-bounds sequence access", std::move(loc));
assert_fn{}(idx >= T{0}, "index cannot be negative", loc);
assert_fn{}(idx < limit, "out-of-bounds sequence access", loc);
}
}
};
Expand Down

0 comments on commit 6719d90

Please sign in to comment.