refactor(Core): apply clang-tidy modernize-pass-by-value (#3823)
This commit is contained in:
parent
282966c117
commit
adf436c937
10 changed files with 36 additions and 24 deletions
|
|
@ -7,10 +7,12 @@
|
|||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
|
||||
#include "dbcfile.h"
|
||||
#include "mpq_libmpq04.h"
|
||||
|
||||
DBCFile::DBCFile(const std::string& filename):
|
||||
filename(filename), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(nullptr), stringTable(nullptr)
|
||||
#include "mpq_libmpq04.h"
|
||||
#include <utility>
|
||||
|
||||
DBCFile::DBCFile(std::string filename):
|
||||
filename(std::move(filename)), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(nullptr), stringTable(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue