Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concat nested namespaces #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions include/tsl/robin_growth_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@

#define TSL_RH_UNUSED(x) static_cast<void>(x)

namespace tsl {
namespace rh {
namespace tsl::rh {

/**
* Grow the hash table by a factor of GrowthFactor keeping the bucket count to a
Expand Down Expand Up @@ -409,7 +408,6 @@ class prime_growth_policy {
"The type of m_iprime is not big enough.");
};

} // namespace rh
} // namespace tsl
} // namespace tsl::rh

#endif
8 changes: 2 additions & 6 deletions include/tsl/robin_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@

#include "robin_growth_policy.h"

namespace tsl {

namespace detail_robin_hash {
namespace tsl::detail_robin_hash {

template <typename T>
struct make_void {
Expand Down Expand Up @@ -1582,8 +1580,6 @@ class robin_hash : private Hash, private KeyEqual, private GrowthPolicy {
bool m_try_shrink_on_next_insert;
};

} // namespace detail_robin_hash

} // namespace tsl
} // namespace tsl::detail_robin_hash

#endif