fix CI warnings and issues.

This commit is contained in:
greg
2021-11-07 12:09:17 -05:00
parent e01a5cafe8
commit 52ab7028fd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1435,7 +1435,7 @@ namespace priv {
// Destroys a range of n values, starting at index i.
void value_destroy_n(const size_type i, const size_type n,
allocator_type *alloc) {
for (int j = 0; j < n; ++j) {
for (size_type j = 0; j < n; ++j) {
value_destroy(i + j, alloc);
}
}
@@ -2138,7 +2138,7 @@ namespace priv {
set_count((field_type)(count() + 1));
if (!leaf() && count() > i + 1) {
for (int j = count(); j > i + 1; --j) {
for (int j = count(); j > (int)(i + 1); --j) {
set_child(j, child(j - 1));
}
clear_child(i + 1);