From fa8ab6eb98395ed468046c261fe120082d4e019b Mon Sep 17 00:00:00 2001 From: Treeston Date: Tue, 4 Aug 2020 17:03:26 +0200 Subject: Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone (cherry picked from commit 7b8b999516a824b0c417631a77f133eb47b8b2f4) --- src/server/shared/Realm/RealmList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/shared') diff --git a/src/server/shared/Realm/RealmList.cpp b/src/server/shared/Realm/RealmList.cpp index 1f1cd6326f0..4442857dc3d 100644 --- a/src/server/shared/Realm/RealmList.cpp +++ b/src/server/shared/Realm/RealmList.cpp @@ -82,11 +82,11 @@ void RealmList::LoadBuildInfo() build.Build = fields[4].GetUInt32(); std::string win64AuthSeedHexStr = fields[5].GetString(); if (win64AuthSeedHexStr.length() == build.Win64AuthSeed.size() * 2) - HexStrToByteArray(win64AuthSeedHexStr, build.Win64AuthSeed.data()); + HexStrToByteArray(win64AuthSeedHexStr, build.Win64AuthSeed); std::string mac64AuthSeedHexStr = fields[6].GetString(); if (mac64AuthSeedHexStr.length() == build.Mac64AuthSeed.size() * 2) - HexStrToByteArray(mac64AuthSeedHexStr, build.Mac64AuthSeed.data()); + HexStrToByteArray(mac64AuthSeedHexStr, build.Mac64AuthSeed); } while (result->NextRow()); } -- cgit v1.2.3