mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)
refactor(Core/Utilities): Acore::StringFormat to fmt format * closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
This commit is contained in:
@@ -137,7 +137,7 @@ void WardenCheckMgr::LoadWardenChecks()
|
||||
continue;
|
||||
}
|
||||
|
||||
std::string str2 = Acore::StringFormat("%04u", id);
|
||||
std::string str2 = Acore::StringFormat("{:04}", id);
|
||||
ASSERT(str2.size() == 4);
|
||||
std::copy(str2.begin(), str2.end(), wardenCheck.IdStr.begin());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user