TrilliumEMU/TrilliumEMU — Issue #34: Compilation Error : CalendarMgr.h
Author: DoGoodS
Created: 2011-11-27 13:51:21+00:00
State: open

Revision : 53c64a757db116fb4189c7df6d35246fcb986ccd (merge to head tc 4.x by Venugh)
G++ version : gcc version 4.4.5 (Debian 4.4.5-8)

Error : src/server/game/Calendar/CalendarMgr.h:221: error: extra qualification ‘CalendarMgr::’ on member ‘SendCommandResult’

Correction :
diff --git a/src/server/game/Calendar/CalendarMgr.h b/src/server/game/Calendar/CalendarMgr.h
index 2c2a6e7..7fe39a1 100644
--- a/src/server/game/Calendar/CalendarMgr.h
+++ b/src/server/game/Calendar/CalendarMgr.h
@@ -218,7 +218,7 @@ public:

void AddOrUpdateCalendarInvite(Calendar_Invite &c_invite, bool create = false);
void _AddOrUpdateCalendarInvite(Calendar_Invite &c_invite);
- void CalendarMgr::SendCommandResult(WorldSession* session, uint32 type, uint32 errocode, const std::string& param);
+ void SendCommandResult(WorldSession* session, uint32 type, uint32 errocode, const std::string& param);
/*Calendar_Invite* GetInviteStatus(uint64 player)
{
for (CalendarInviteList::const_iterator i = m_inviteList.begin(); i != m_inviteList.end(); ++i)

Thanks to correct it ;)