Core/Updater: Fix gcc build (this time for older gcc versions that didn't trigger the warning fixed in previous commit)

This commit is contained in:
Shauren
2024-05-06 00:43:06 +02:00
parent b288fceb79
commit 78aef0bd75

View File

@@ -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";
}