ACHIEVEMENTS: Make getStatRaw() const

This commit is contained in:
lb_ii 2021-05-31 23:39:36 +03:00 committed by lolbot-iichan
parent 4bea32377e
commit 9c699358ea
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ int AchievementsManager::getStatInt(String const &id) {
}
String AchievementsManager::getStatRaw(String const &id) {
const String AchievementsManager::getStatRaw(String const &id) {
if (!isReady()) {
return "";
}

View File

@ -166,7 +166,7 @@ public:
*
* @param[in] id Internal ID of the achievement.
*/
String getStatRaw(const String &id);
const String getStatRaw(const String &id);
/**
* Get an average rate statistic (float).