CFilteredResourceModel: Mark sort lambda parameters as const

This commit is contained in:
Lioncash 2020-07-10 15:29:42 -04:00
parent a30c6195d9
commit fa8c1b3255
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public:
} }
} }
std::sort(mEntries.begin(), mEntries.end(), [](CResourceEntry *pA, CResourceEntry *pB) -> bool { std::sort(mEntries.begin(), mEntries.end(), [](const CResourceEntry* pA, const CResourceEntry* pB) {
return pA->UppercaseName() < pB->UppercaseName(); return pA->UppercaseName() < pB->UppercaseName();
}); });