mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo
This commit is contained in:
@@ -384,8 +384,7 @@ static std::shared_ptr<Trinity::AsyncProcessResult> InvokeAsyncCMakeCommand(T&&.
|
||||
static std::string CalculateScriptModuleProjectName(std::string const& module)
|
||||
{
|
||||
std::string module_project = "scripts_" + module;
|
||||
std::transform(module_project.begin(), module_project.end(),
|
||||
module_project.begin(), ::tolower);
|
||||
strToLower(module_project);
|
||||
|
||||
return module_project;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user