Skip to content

✨ Implement a HashMap w/ LinkedList#4

Open
YousefEZ wants to merge 4 commits intomainfrom
hash-table
Open

✨ Implement a HashMap w/ LinkedList#4
YousefEZ wants to merge 4 commits intomainfrom
hash-table

Conversation

@YousefEZ
Copy link
Owner

No description provided.

// optional->get to get underlying of reference_wrapper
m_black_map.insert(std::move(node->get()));

if (m_red_map.size() == 0) [[unlikely]] {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (m_red_map.size() == 0) [[unlikely]] {
if (m_red_map->size() == 0) [[unlikely]] {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant