Permalink
Browse files

Silly Liru, bracket initializer lists are not expressions!

  • Loading branch information...
1 parent eeb3a09 commit 21164d1f01d2c41ba3d767cc3e7fc1f64d99207c @Lirusaito Lirusaito committed Jul 8, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 indra/newview/llviewermenu.cpp
@@ -9197,7 +9197,7 @@ void estate_bulk_eject(const uuid_vec_t& ids, bool ban, S32 option)
{
if (id.isNull()) continue;
const std::string idstr(id.asString());
- send_estate_message(request, tphome ? {agent, idstr} : {idstr});
+ send_estate_message(request, tphome ? std::vector<std::string>({agent, idstr}) : std::vector<std::string>({idstr}));
if (ban)
LLPanelEstateInfo::sendEstateAccessDelta(ESTATE_ACCESS_BANNED_AGENT_ADD | ESTATE_ACCESS_ALLOWED_AGENT_REMOVE | ESTATE_ACCESS_NO_REPLY, id);
}

0 comments on commit 21164d1

Please sign in to comment.