[Scummvm-git-logs] scummvm branch-3-0 -> 60a083ac9f98f260fa41bdf589410e6670c9a26d

sluicebox noreply at scummvm.org
Tue Nov 25 17:15:14 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
60a083ac9f PRIVATE: Fix compiler warning


Commit: 60a083ac9f98f260fa41bdf589410e6670c9a26d
    https://github.com/scummvm/scummvm/commit/60a083ac9f98f260fa41bdf589410e6670c9a26d
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2025-11-25T09:15:02-08:00

Commit Message:
PRIVATE: Fix compiler warning

Changed paths:
    engines/private/private.cpp


diff --git a/engines/private/private.cpp b/engines/private/private.cpp
index 327c24bb878..4a02925e968 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -2502,7 +2502,7 @@ void PrivateEngine::loadLocations(const Common::Rect &rect) {
 		}
 		locationID++;
 	}
-	Common::sort(visitedLocations.begin(), visitedLocations.end(), [&locationIDs](const Symbol *a, const Symbol *b) {
+	Common::sort(visitedLocations.begin(), visitedLocations.end(), [](const Symbol *a, const Symbol *b) {
 		return a->u.val < b->u.val;
 	});
 




More information about the Scummvm-git-logs mailing list