1
1
Decrease the hash table size when an element is removed

cmr=v1.8.2:ticket=trac:4872

This commit was SVN r32566.

The following Trac tickets were found above:
  Ticket 4872 --> https://svn.open-mpi.org/trac/ompi/ticket/4872
Этот коммит содержится в:
Gilles Gouaillardet 2014-08-21 06:51:11 +00:00
родитель ea94659bd9
Коммит 59caebe3ea

Просмотреть файл

@ -13,6 +13,8 @@
* All rights reserved.
* Copyright (c) 2014-2015 Mellanox Technologies, Inc.
* All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -308,6 +310,7 @@ opal_hash_table_remove_elt_at(opal_hash_table_t * ht, size_t ii)
}
}
}
ht->ht_size -= 1;
return OPAL_SUCCESS;
}