We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 902f075 commit 4a63c5aCopy full SHA for 4a63c5a
crnlib/crn_vector.cpp
@@ -19,7 +19,7 @@ bool elemental_vector::increase_capacity(uint min_new_capacity, bool grow_hint,
19
if (m_capacity >= min_new_capacity)
20
return true;
21
22
- size_t new_capacity = min_new_capacity;
+ ptr_bits_t new_capacity = min_new_capacity;
23
if ((grow_hint) && (!math::is_power_of_2(new_capacity)))
24
new_capacity = math::next_pow2(new_capacity);
25
0 commit comments