Merge pull request #15940 from keszybz/names-set-optimization

Try to optimize away Unit.names set
This commit is contained in:
Lennart Poettering
2020-06-10 18:52:08 +02:00
committed by GitHub
13 changed files with 223 additions and 209 deletions
+1 -1
View File
@@ -833,7 +833,7 @@ static int hashmap_base_ensure_allocated(HashmapBase **h, const struct hash_ops
return -ENOMEM;
*h = q;
return 0;
return 1;
}
int _hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) {