forked from boostorg/unordered
Fix conversion warning in reserve()
This commit is contained in:
1 parent
86956b0be1
commit
faa6e91ed2
1 file changed
+1
-1
@@ -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