aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-05-06 00:43:06 +0200
committerShauren <shauren.trinity@gmail.com>2024-05-06 00:43:06 +0200
commit78aef0bd75a16953b09abe6449468de81fcc622d (patch)
tree33980598c122a097aa4d70bf0eb1b8667895eb42 /src
parentb288fceb792b5571eb7b79033408588fe4bede24 (diff)
Core/Updater: Fix gcc build (this time for older gcc versions that didn't trigger the warning fixed in previous commit)
Diffstat (limited to 'src')
-rw-r--r--src/server/database/Updater/UpdateFetcher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/database/Updater/UpdateFetcher.h b/src/server/database/Updater/UpdateFetcher.h
index be66162efcf..69f4d4cdca9 100644
--- a/src/server/database/Updater/UpdateFetcher.h
+++ b/src/server/database/Updater/UpdateFetcher.h
@@ -86,12 +86,12 @@ private:
uint64 const timestamp;
- static constexpr State StateConvert(std::string const& state)
+ static inline State StateConvert(std::string const& state)
{
return (state == "RELEASED") ? RELEASED : ARCHIVED;
}
- static constexpr std::string StateConvert(State const state)
+ static inline std::string StateConvert(State const state)
{
return (state == RELEASED) ? "RELEASED" : "ARCHIVED";
}