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

#include <win32_task_runner.h>

Public Member Functions

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

Detailed Description

Definition at line 47 of file win32_task_runner.h.

Member Function Documentation

◆ operator()()

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

Definition at line 48 of file win32_task_runner.h.

References flutter::Win32TaskRunner::Win32TaskRunner().

48  {
49  if (a.fire_time == b.fire_time) {
50  return a.order > b.order;
51  }
52  return a.fire_time > b.fire_time;
53  }

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