Core: Pass by const reference for simple objects replaced with pass by value
This commit is contained in:
1 parent
1fc1da842e
commit
acd0fc79f6
63 files changed
+263
-263
No files matched your search
@@ -297,7 +297,7 @@ public:
|
||||
|
||||
uint64 prisonerGUID;
|
||||
|
||||
void SetGUID(const uint64 &guid, int32 /*id*/)
|
||||
void SetGUID(const uint64 guid, int32 /*id*/)
|
||||
{
|
||||
if (!prisonerGUID)
|
||||
prisonerGUID = guid;
|
||||
@@ -883,7 +883,7 @@ public:
|
||||
|
||||
uint64 minerGUID;
|
||||
|
||||
void SetGUID(const uint64 &guid, int32 /*id*/)
|
||||
void SetGUID(const uint64 guid, int32 /*id*/)
|
||||
{
|
||||
minerGUID = guid;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user