mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
Fix conversion warning in reserve()
This commit is contained in:
@ -972,7 +972,7 @@ public:
|
||||
|
||||
void reserve(std::size_t n)
|
||||
{
|
||||
rehash(std::size_t(std::ceil(n/mlf)));
|
||||
rehash(std::size_t(std::ceil(static_cast<float>(n)/mlf)));
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user