- fix many compiler warnings

This commit is contained in:
2025-08-21 11:04:56 +03:00
parent 6b6f4147db
commit 178ebac88a
26 changed files with 74 additions and 79 deletions

View File

@@ -215,7 +215,7 @@ PCandidatePair CheckList::findEqualPair(CandidatePair& _pair, ComparisionType ct
unsigned CheckList::add(CandidatePair& p)
{
mPairList.push_back(PCandidatePair(new CandidatePair(p)));
mPairList.push_back(std::make_shared<CandidatePair>(p));
// Sort list by priority
std::sort(mPairList.begin(), mPairList.end(), ComparePairByPriority);