[Scummvm-git-logs] scummvm master -> 3bd6695848386634314f3362c6c5d4457a3cb1da

sluicebox noreply at scummvm.org
Tue Nov 25 17:14:37 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:
3bd6695848 PRIVATE: Fix compiler warning


Commit: 3bd6695848386634314f3362c6c5d4457a3cb1da
    https://github.com/scummvm/scummvm/commit/3bd6695848386634314f3362c6c5d4457a3cb1da
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2025-11-25T09:14:29-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