CID-341
Checker: UNINIT_CTOR Function: LLNotificationComparators::orderBy<const LLUUID &>::orderBy(boost::function<const LLUUID &(boost::shared_ptr<LLNotification>)>, LLNotificationComparators::e_direction) File: /indra/llui/llnotifications.hmeow-7.2.2
parent
32d66e60fd
commit
a07e40e70d
|
|
@ -617,7 +617,7 @@ namespace LLNotificationComparators
|
|||
struct orderBy
|
||||
{
|
||||
typedef boost::function<T (LLNotificationPtr)> field_t;
|
||||
orderBy(field_t field, EDirection = ORDER_INCREASING) : mField(field) {}
|
||||
orderBy(field_t field, EDirection direction = ORDER_INCREASING) : mField(field), mDirection(direction) {}
|
||||
bool operator()(LLNotificationPtr lhs, LLNotificationPtr rhs)
|
||||
{
|
||||
if (mDirection == ORDER_DECREASING)
|
||||
|
|
|
|||
Loading…
Reference in New Issue