summaryrefslogtreecommitdiff
path: root/src/basic/ordered-set.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-01 13:18:56 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-01 13:32:02 +0200
commite4126adf453d170afae319f7d3d7a87b4d2f5159 (patch)
tree1f7f2b1535e0728e9c5a34bfb5c6337e9315bb6e /src/basic/ordered-set.h
parent1f25c71d9d0b5fe6cf383c347dcebc2443a99fe1 (diff)
downloadsystemd-e4126adf453d170afae319f7d3d7a87b4d2f5159.tar.gz
basic/hashmap,set: inline trivial set_iterate() wrapper
The compiler would do this to, esp. with LTO, but we can short-circuit the whole process and make everything a bit simpler by avoiding the separate definition. (It would be nice to do the same for _set_new(), _set_ensure_allocated() and other similar functions which are one-line trivial wrappers too. Unfortunately that would require enum HashmapType to be made public, which we don't want to do.)
Diffstat (limited to 'src/basic/ordered-set.h')
0 files changed, 0 insertions, 0 deletions