Skip to content

Commit

Permalink
Merge pull request #13 from i80287/update-attributes-cleanup-config
Browse files Browse the repository at this point in the history
update attributes in the config_macros.hpp and cleanup integer casts
  • Loading branch information
i80287 authored Oct 30, 2024
2 parents 25231b2 + 9987b13 commit 56fb474
Show file tree
Hide file tree
Showing 23 changed files with 974 additions and 762 deletions.
2 changes: 1 addition & 1 deletion bstrees/RBTree.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ protected:
[[nodiscard]] ATTRIBUTE_PURE constexpr size_type size() const noexcept {
const size_type value = Base::Size();
RBTREE_ASSERT_INVARIANT(value <= max_size());
ATTRIBUTE_ASSUME(value <= max_size());
CONFIG_ASSUME_STATEMENT(value <= max_size());
return value;
}

Expand Down
Loading

0 comments on commit 56fb474

Please sign in to comment.