Flutter Windows Embedder
flutter::TaskRunner::Task::Comparer Struct Reference

#include <task_runner.h>

Public Member Functions

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

Detailed Description

Definition at line 70 of file task_runner.h.

Member Function Documentation

◆ operator()()

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

Definition at line 71 of file task_runner.h.

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

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