Profile: forgot to mark two functions as const.
This commit is contained in:
parent
0b846be139
commit
932052ab0a
2 changed files with 4 additions and 4 deletions
|
@ -141,7 +141,7 @@ auto Profile::getCredits() -> std::int32_t {
|
|||
return _credits;
|
||||
}
|
||||
|
||||
auto Profile::storyProgress() -> std::int32_t {
|
||||
auto Profile::storyProgress() const -> std::int32_t {
|
||||
return _storyProgress;
|
||||
}
|
||||
|
||||
|
@ -161,7 +161,7 @@ auto Profile::getStoryProgress() -> std::int32_t {
|
|||
return _storyProgress;
|
||||
}
|
||||
|
||||
auto Profile::lastMissionId() -> std::int32_t {
|
||||
auto Profile::lastMissionId() const -> std::int32_t {
|
||||
return _lastMissionId;
|
||||
}
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@ class Profile {
|
|||
auto credits() const -> std::int32_t;
|
||||
auto getCredits() -> std::int32_t;
|
||||
|
||||
auto storyProgress() -> std::int32_t;
|
||||
auto storyProgress() const -> std::int32_t;
|
||||
auto getStoryProgress() -> std::int32_t;
|
||||
|
||||
auto lastMissionId() -> std::int32_t;
|
||||
auto lastMissionId() const -> std::int32_t;
|
||||
auto getLastMissionId() -> std::int32_t;
|
||||
|
||||
auto backup(const std::string& filename) -> bool;
|
||||
|
|
Loading…
Reference in a new issue