Skip to content
Snippets Groups Projects
Commit 6fa808db authored by Vadim ProductEngine's avatar Vadim ProductEngine
Browse files

STORM-1352 WIP Changed sort functor return type to bool.

parent 26940eb2
No related branches found
No related tags found
No related merge requests found
...@@ -372,9 +372,9 @@ void LLNearbyChatScreenChannel::arrangeToasts() ...@@ -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 v1 = first.get()->getTimeLeftToLive();
F32 v2 = second.get()->getTimeLeftToLive(); F32 v2 = second.get()->getTimeLeftToLive();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment