Expand calls to reserve implementation

This commit is contained in:
Daniel James
2017-04-23 10:09:18 +01:00
parent 19a45e028a
commit b6c229e2bb
3 changed files with 8 additions and 11 deletions
@@ -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)
{