mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
do not capture by default all values in lambdas
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -79,7 +79,7 @@ void Version::parse()
|
||||
if (m_string.isEmpty())
|
||||
return;
|
||||
|
||||
auto classChange = [&](QChar lastChar, QChar currentChar) {
|
||||
auto classChange = [¤tSection](QChar lastChar, QChar currentChar) {
|
||||
if (lastChar.isNull())
|
||||
return false;
|
||||
if (lastChar.isDigit() != currentChar.isDigit())
|
||||
|
Reference in New Issue
Block a user