automatic clang-tidy fixes
Apply fixes automatically generated by clang-tidy when ran with
clang-tidy-20. These appear to be optimization fixes around usage
of std::map and/or std::unordered_map.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibe1ae1518cb98aa7dbc38cc796ec6ebd6c68743a
diff --git a/src/Thresholds.cpp b/src/Thresholds.cpp
index 68233c0..2489fc8 100644
--- a/src/Thresholds.cpp
+++ b/src/Thresholds.cpp
@@ -518,7 +518,7 @@
if (auto fileParts = splitFileName(inputPath))
{
auto& [type, nr, item] = *fileParts;
- if (map.count(item) != 0)
+ if (map.contains(item))
{
for (const auto& t : map.at(item))
{