aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Valle <s.v.h21@hotmail.com>2013-09-03 21:55:35 -0500
committerSebastian Valle <s.v.h21@hotmail.com>2013-09-03 21:55:35 -0500
commita37f18a67a6265282470191b92fc71d173dcedff (patch)
tree8acfff4ac4a6125f4571d90d28eb3cd697a0b398
parent88df2ca6d4dc4e4dcc101ebf78e303b7860e59f2 (diff)
Core/Build: Fixed build
-rw-r--r--src/server/game/Globals/ObjectMgr.h2
-rw-r--r--src/server/game/Loot/LootMgr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.h b/src/server/game/Globals/ObjectMgr.h
index aa15fd04b44..e44333c4a7a 100644
--- a/src/server/game/Globals/ObjectMgr.h
+++ b/src/server/game/Globals/ObjectMgr.h
@@ -1147,7 +1147,7 @@ class ObjectMgr
static PetNameInvalidReason CheckPetName(std::string const& name);
static bool IsValidCharterName(std::string const& name);
- static bool CheckDeclinedNames(std::wstring w_ownname, DeclinedName const& names);
+ static bool CheckDeclinedNames(const std::wstring& w_ownname, DeclinedName const& names);
GameTele const* GetGameTele(uint32 id) const
{
diff --git a/src/server/game/Loot/LootMgr.h b/src/server/game/Loot/LootMgr.h
index d338f6f503b..c2f74aab701 100644
--- a/src/server/game/Loot/LootMgr.h
+++ b/src/server/game/Loot/LootMgr.h
@@ -228,7 +228,7 @@ class LootTemplate
void AddEntry(LootStoreItem* item);
// Rolls for every item in the template and adds the rolled items the the loot
void Process(Loot& loot, bool rate, uint16 lootMode, uint8 groupId = 0) const;
- void CopyConditions(ConditionList conditions);
+ void CopyConditions(const ConditionList& conditions);
void CopyConditions(LootItem* li) const;
// True if template includes at least 1 quest drop entry