Skip to content

Commit

Permalink
[projmgr] Fix multiple variants recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
brondani authored Jul 10, 2024
1 parent 2fdb3c8 commit 229e4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/projmgr/src/ProjMgrWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1743,7 +1743,7 @@ bool ProjMgrWorker::ProcessComponents(ContextItem& context) {
auto aggCompId = matchedComponent->GetComponentAggregateID();

auto itr = std::find_if(processedComponents.begin(), processedComponents.end(), [aggCompId](const auto& pair) {
return pair.first.find(aggCompId) != std::string::npos;
return pair.first.compare(aggCompId) == 0;
});
if (itr != processedComponents.end()) {
// multiple variant of the same component found
Expand Down

0 comments on commit 229e4ec

Please sign in to comment.