diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-20 16:56:52 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-20 16:56:52 +0300 |
commit | 6fa808db363b6d6e06e3b31d4acf4258497fb5ee (patch) | |
tree | fa7d3c7231a896c673ab16227125f1d48d1baa32 /indra/newview | |
parent | 26940eb2ffcc91d5fd1a825a9638d0f8fff2b9ae (diff) |
STORM-1352 WIP Changed sort functor return type to bool.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index ae44c76038..2f4621a600 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -372,9 +372,9 @@ void LLNearbyChatScreenChannel::arrangeToasts() } } -int sort_toasts_predicate(LLHandle<LLToast> first, LLHandle<LLToast> second) +static bool sort_toasts_predicate(LLHandle<LLToast> first, LLHandle<LLToast> second) { - if (!first.get() || !second.get()) return 0; // STORM-1352 + if (!first.get() || !second.get()) return false; // STORM-1352 F32 v1 = first.get()->getTimeLeftToLive(); F32 v2 = second.get()->getTimeLeftToLive(); |