split data engine matchers to classes

This commit is contained in:
2024-04-29 18:09:48 +03:00
parent 3db85cb38f
commit 238e70e711
143 changed files with 3485 additions and 505 deletions

View File

@ -85,7 +85,7 @@ public:
auto found = std::find_if(m_items.cbegin(), m_items.cend(),
[&_tag, &_type](auto item) { return item->tag(_type) == _tag; });
if (found == std::end(m_items)) {
if (found == m_items.cend()) {
qCWarning(LOG_LIB) << "Could not find item by tag" << _tag;
return nullptr;
}
@ -99,7 +99,7 @@ public:
auto found = std::find_if(m_items.cbegin(), m_items.cend(),
[_number](auto item) { return item->number() == _number; });
if (found == std::end(m_items)) {
if (found == m_items.cend()) {
qCWarning(LOG_LIB) << "Could not find item by number" << _number;
return nullptr;
}