mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
This commit is contained in:
@@ -73,7 +73,7 @@ void Log::CreateAppenderFromConfig(std::string const& appenderName)
|
||||
|
||||
std::vector<std::string_view> tokens = Acore::Tokenize(options, ',', true);
|
||||
|
||||
size_t const size = tokens.size();
|
||||
std::size_t const size = tokens.size();
|
||||
std::string name = appenderName.substr(9);
|
||||
|
||||
if (size < 2)
|
||||
@@ -265,7 +265,7 @@ Logger const* Log::GetLoggerByType(std::string const& type) const
|
||||
}
|
||||
|
||||
std::string parentLogger = LOGGER_ROOT;
|
||||
size_t found = type.find_last_of('.');
|
||||
std::size_t found = type.find_last_of('.');
|
||||
if (found != std::string::npos)
|
||||
{
|
||||
parentLogger = type.substr(0, found);
|
||||
|
||||
Reference in New Issue
Block a user