Nerf OSX warning about use of this in lambda.

meow-7.2.2
Graham Linden 2018-09-07 18:51:36 +01:00
parent 7708708984
commit d20c4c17af
1 changed files with 1 additions and 0 deletions

View File

@ -703,6 +703,7 @@ void LLFloaterEditExtDayCycle::checkAndConfirmSettingsLoss(on_confirm_fn cb)
LLNotificationsUtil::add("SettingsConfirmLoss", args, LLSD(),
[this, cb](const LLSD&notif, const LLSD&resp)
{
(void)this;
S32 opt = LLNotificationsUtil::getSelectedOption(notif, resp);
if (opt == 0)
cb();