Skip to content
Snippets Groups Projects
Commit e248e89d authored by Federico's avatar Federico
Browse files

Add missing priority comparison operators for priority scheduler

parent bd4c5032
Branches
No related tags found
No related merge requests found
......@@ -91,11 +91,21 @@ inline bool operator<(PrioritySchedulerPriority a, PrioritySchedulerPriority b)
return a.get() < b.get();
}
inline bool operator<=(PrioritySchedulerPriority a, PrioritySchedulerPriority b)
{
return a.get() <= b.get();
}
inline bool operator>(PrioritySchedulerPriority a, PrioritySchedulerPriority b)
{
return a.get() > b.get();
}
inline bool operator>=(PrioritySchedulerPriority a, PrioritySchedulerPriority b)
{
return a.get() >= b.get();
}
inline bool operator==(PrioritySchedulerPriority a, PrioritySchedulerPriority b)
{
return a.get() == b.get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment