util/IntrusiveHashSet: rename insert() to insert_commit()
Clarify that the method is not a freestanding insertion method but should only be used after insert_check().
This commit is contained in:
committed by
Max Kellermann
parent
e133f621a4
commit
42d5b05f54
@@ -235,7 +235,7 @@ public:
|
||||
*
|
||||
* @param bucket the bucket returned by insert_check()
|
||||
*/
|
||||
constexpr void insert(bucket_iterator bucket, reference item) noexcept {
|
||||
constexpr void insert_commit(bucket_iterator bucket, reference item) noexcept {
|
||||
++counter;
|
||||
GetBucket(item).insert(bucket, item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user