mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
refactor(Core): apply clang-tidy modernize-use-emplace (#3828)
This commit is contained in:
@@ -108,7 +108,7 @@ namespace MMAP
|
||||
if ((dp = readdir(dirp)) != nullptr)
|
||||
{
|
||||
if (matchWildcardFilter(filter.c_str(), dp->d_name))
|
||||
fileList.push_back(std::string(dp->d_name));
|
||||
fileList.emplace_back(dp->d_name);
|
||||
}
|
||||
else
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user