1
0
forked from 0ad/0ad

Make my last commit C++98 compatible.

This was SVN commit r14709.
This commit is contained in:
JoshuaJB 2014-01-31 01:26:08 +00:00
parent c3d9769622
commit 0157e640cc

View File

@ -888,7 +888,7 @@ void XmppClient::GetRoleString(const gloox::MUCRoomRole r, std::string& role) co
{
switch(r)
{
#define CASE(x,y) case gloox::MUCRoomRole::x: role = y; break
#define CASE(x,y) case gloox::x: role = y; break
CASE(RoleNone, "none");
CASE(RoleVisitor, "visitor");
CASE(RoleParticipant, "participant");