]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: config_cacher: use set::contains() instead of count()
authorRonen Friedman <rfriedma@redhat.com>
Tue, 14 Jan 2025 09:23:16 +0000 (03:23 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 15 Jan 2025 14:01:02 +0000 (08:01 -0600)
commit21691f2fa1ffc97bf22dc8c8e75eb5722f2bb233
treea60f45bf88096587d2c3c322fddc88acf7c4e0b5
parent2dfa89e24364138776a75ea469c29702f53c0a7a
common: config_cacher: use set::contains() instead of count()

moved out of the main commit to
facilitate backporting it to pre-C++20.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 5c098880829a7c2757c59dd21280baeaa93cd74a)
src/common/config_cacher.h