summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-29 13:53:20 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-29 13:53:20 -0800
commita07e40e70db8c9a4b90ff114c2bdca5a4ee6da83 (patch)
tree84de58cd6fb662744fe2c34af6ced8539c0da6e9 /indra
parent32d66e60fddb26d0736149e16b1b57f7aa186146 (diff)
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.h
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llnotifications.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h
index 44ff7894ac..7269e43325 100644
--- a/indra/llui/llnotifications.h
+++ b/indra/llui/llnotifications.h
@@ -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)