Update to build on Xcode 6.0: clang fix for bracketed logical operations
parent
ae54e5160e
commit
09c288ba5e
|
|
@ -103,9 +103,9 @@ void LLCommunicationChannel::onDelete(LLNotificationPtr p)
|
|||
void LLCommunicationChannel::onFilterFail(LLNotificationPtr pNotificationPtr)
|
||||
{
|
||||
std::string notificationType = pNotificationPtr->getType();
|
||||
if ((notificationType == "groupnotify")
|
||||
if (((notificationType == "groupnotify")
|
||||
|| (notificationType == "offer")
|
||||
|| (notificationType == "notifytoast")
|
||||
|| (notificationType == "notifytoast"))
|
||||
&& !pNotificationPtr->isCancelled())
|
||||
{
|
||||
mHistory.insert(std::make_pair<LLDate, LLNotificationPtr>(pNotificationPtr->getDate(), pNotificationPtr));
|
||||
|
|
|
|||
Loading…
Reference in New Issue