Expand calls to reserve implementation

This commit is contained in:
Daniel James committed 2017-04-23 10:09:18 +01:00
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)
{