Flutter Engine
flutter::EventLoop::Task::Comparer Struct Reference

#include <event_loop.h>

Public Member Functions

bool operator() (const Task &a, const Task &b)
 

Detailed Description

Definition at line 71 of file event_loop.h.

Member Function Documentation

◆ operator()()

bool flutter::EventLoop::Task::Comparer::operator() ( const Task a,
const Task b 
)
inline

Definition at line 72 of file event_loop.h.

References flutter::EventLoop::Task::fire_time, and flutter::EventLoop::Task::order.

72  {
73  if (a.fire_time == b.fire_time) {
74  return a.order > b.order;
75  }
76  return a.fire_time > b.fire_time;
77  }

The documentation for this struct was generated from the following file: