aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-04-19 20:20:18 +0200
committerShauren <shauren.trinity@gmail.com>2015-04-19 20:20:18 +0200
commit9172584ef1a81ee995aa736e66256c3b7582d2ff (patch)
tree7f5137937316826d8248855a32c0e9b3d120ef48 /src
parentdb0b6caf141d495e0501a5bf9b47ce1f8462f7f5 (diff)
Core/Tickets: Fixed [-Woverloaded-virtual] warnings
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Support/SupportMgr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/game/Support/SupportMgr.h b/src/server/game/Support/SupportMgr.h
index b3a7b2e24f0..2d679d2df17 100644
--- a/src/server/game/Support/SupportMgr.h
+++ b/src/server/game/Support/SupportMgr.h
@@ -107,8 +107,7 @@ public:
}
std::string const& GetComment() { return _comment; }
- virtual void SetAssignedTo(ObjectGuid guid) { _assignedTo = guid; }
- virtual void SetAssignedTo(ObjectGuid /*guid*/, bool /*isAdmin*/) { }
+ virtual void SetAssignedTo(ObjectGuid guid, bool /*isAdmin*/ = false) { _assignedTo = guid; }
virtual void SetUnassigned() { _assignedTo.Clear(); }
void SetClosedBy(ObjectGuid value) { _closedBy = value; }
void SetComment(std::string const& comment) { _comment = comment; }
@@ -155,7 +154,7 @@ public:
GMTicketEscalationStatus GetEscalatedStatus() const { return _escalatedStatus; }
std::string const& GetResponse() const { return _response; }
- void SetAssignedTo(ObjectGuid guid, bool isAdmin) override
+ void SetAssignedTo(ObjectGuid guid, bool isAdmin = false) override
{
_assignedTo = guid;
if (isAdmin && _escalatedStatus == TICKET_IN_ESCALATION_QUEUE)