Files
scylladb/utils
Piotr Jastrzebski c001374636 codebase wide: replace count with contains
C++20 introduced `contains` member functions for maps and sets for
checking whether an element is present in the collection. Previously
`count` function was often used in various ways.

`contains` does not only express the intend of the code better but also
does it in more unified way.

This commit replaces all the occurences of the `count` with the
`contains`.

Tests: unit(dev)

Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com>
Message-Id: <b4ef3b4bc24f49abe04a2aba0ddd946009c9fcb2.1597314640.git.piotr@scylladb.com>
2020-08-15 20:26:02 +03:00
..
2020-01-30 14:10:18 +02:00
2020-08-06 15:41:31 +03:00
2020-03-23 11:59:30 +02:00
2020-08-03 15:55:16 +03:00
2020-03-20 19:37:48 +01:00
2020-08-04 17:54:45 +03:00
2020-05-31 12:58:59 +03:00
2020-03-23 11:59:30 +02:00
2020-08-11 19:37:47 +08:00
2020-01-26 18:54:36 +02:00