1
0
mirror of https://github.com/dolphin-emu/dolphin synced 2024-07-01 07:54:33 +00:00

AchievementManager: Fix -Wignored-qualifiers warning

Fix warning on Android builder by returning bool instead of const bool.
This commit is contained in:
Dentomologist 2024-06-27 14:30:16 -07:00
parent 233ea58446
commit c46c010ae3
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ AchievementManager::RichPresence AchievementManager::GetRichPresence() const
return m_rich_presence;
}
const bool AchievementManager::AreChallengesUpdated() const
bool AchievementManager::AreChallengesUpdated() const
{
return m_challenges_updated;
}

View File

@ -116,7 +116,7 @@ public:
const Badge& GetAchievementBadge(AchievementId id, bool locked) const;
const LeaderboardStatus* GetLeaderboardInfo(AchievementId leaderboard_id);
RichPresence GetRichPresence() const;
const bool AreChallengesUpdated() const;
bool AreChallengesUpdated() const;
void ResetChallengesUpdated();
const std::unordered_set<AchievementId>& GetActiveChallenges() const;
std::vector<std::string> GetActiveLeaderboards() const;