AD: Make sure that we initialize hashmaps. Unfortunately, this leads to less const'ness

This commit is contained in:
Eugene Sandulenko 2021-11-29 01:21:20 +01:00
parent 55dc78960b
commit ccfaf478ab
No known key found for this signature in database
GPG key ID: 014D387312D34F08
21 changed files with 59 additions and 43 deletions

View file

@ -83,7 +83,7 @@ public:
PlainGameList getSupportedGames() const override;
PlainGameDescriptor findGame(const char *gameid) const override;
DetectedGames detectGames(const Common::FSList &fslist) const override;
DetectedGames detectGames(const Common::FSList &fslist) override;
const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const override;
};
@ -122,7 +122,7 @@ static Common::String generatePreferredTarget(const DetectorResult &x) {
return res;
}
DetectedGames ScummMetaEngineDetection::detectGames(const Common::FSList &fslist) const {
DetectedGames ScummMetaEngineDetection::detectGames(const Common::FSList &fslist) {
DetectedGames detectedGames;
Common::List<DetectorResult> results;
::detectGames(fslist, results, nullptr);