diff options
Diffstat (limited to 'src/server/shared/Realm/ClientBuildInfo.cpp')
-rw-r--r-- | src/server/shared/Realm/ClientBuildInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/Realm/ClientBuildInfo.cpp b/src/server/shared/Realm/ClientBuildInfo.cpp index d3d73071802..8fb44698bf3 100644 --- a/src/server/shared/Realm/ClientBuildInfo.cpp +++ b/src/server/shared/Realm/ClientBuildInfo.cpp @@ -146,7 +146,7 @@ void LoadBuildInfo() build.MajorVersion = fields[0].GetUInt32(); build.MinorVersion = fields[1].GetUInt32(); build.BugfixVersion = fields[2].GetUInt32(); - std::string hotfixVersion = fields[3].GetString(); + std::string_view hotfixVersion = fields[3].GetStringView(); if (hotfixVersion.length() < build.HotfixVersion.size()) std::ranges::copy(hotfixVersion, build.HotfixVersion.begin()); else |