From c46c010ae354074db017ebc45c84760e13cc240b Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Thu, 27 Jun 2024 14:30:16 -0700 Subject: [PATCH] AchievementManager: Fix -Wignored-qualifiers warning Fix warning on Android builder by returning bool instead of const bool. --- Source/Core/Core/AchievementManager.cpp | 2 +- Source/Core/Core/AchievementManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/AchievementManager.cpp b/Source/Core/Core/AchievementManager.cpp index c85f6f0f59..dbb8da05bc 100644 --- a/Source/Core/Core/AchievementManager.cpp +++ b/Source/Core/Core/AchievementManager.cpp @@ -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; } diff --git a/Source/Core/Core/AchievementManager.h b/Source/Core/Core/AchievementManager.h index c26d3bcf96..6be2006c47 100644 --- a/Source/Core/Core/AchievementManager.h +++ b/Source/Core/Core/AchievementManager.h @@ -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& GetActiveChallenges() const; std::vector GetActiveLeaderboards() const;