mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
refactor(Core): apply clang-tidy modernize-pass-by-value (#3823)
This commit is contained in:
@@ -10,9 +10,10 @@
|
||||
#undef max
|
||||
|
||||
#include <cstdio>
|
||||
#include <utility>
|
||||
|
||||
DBCFile::DBCFile(const std::string& filename):
|
||||
filename(filename), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(nullptr), stringTable(nullptr)
|
||||
DBCFile::DBCFile(std::string filename):
|
||||
filename(std::move(filename)), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(nullptr), stringTable(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user