CFilteredResourceModel: Mark sort lambda parameters as const
This commit is contained in:
parent
a30c6195d9
commit
fa8c1b3255
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue