Skip to content

Commit

Permalink
AchievementManager: Fix -Wignored-qualifiers warning
Browse files Browse the repository at this point in the history
Fix warning on Android builder by returning bool instead of const bool.
  • Loading branch information
Dentomologist committed Jun 27, 2024
1 parent 233ea58 commit c46c010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/AchievementManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/AchievementManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class AchievementManager
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;
Expand Down

0 comments on commit c46c010

Please sign in to comment.