mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user