forked from boostorg/unordered
Expand calls to reserve implementation
This commit is contained in:
1 parent
19a45e028a
commit
b6c229e2bb
3 files changed
+8
-11
No files matched your search
@@ -3358,13 +3358,6 @@ inline void table<Types>::rehash(std::size_t min_buckets)
|
||||
}
|
||||
}
|
||||
|
||||
template <typename Types>
|
||||
inline void table<Types>::reserve(std::size_t num_elements)
|
||||
{
|
||||
rehash(static_cast<std::size_t>(
|
||||
std::ceil(static_cast<double>(num_elements) / mlf_)));
|
||||
}
|
||||
|
||||
template <typename Types>
|
||||
inline void table<Types>::rehash_impl(std::size_t num_buckets)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user