Make my last commit C++98 compatible.
This was SVN commit r14709.
This commit is contained in:
parent
c3d9769622
commit
0157e640cc
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user