blob: 8952fe4dd5aabcd50d1c11a9655c3ecdd1a4d5fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <base/types.h>
/// Common type for priority values.
/// Separate type (rather than `Int64` is used just to avoid implicit conversion errors and to default-initialize
struct Priority
{
Int64 value = 0; /// Note that lower value means higher priority.
constexpr operator Int64() const { return value; } /// NOLINT
};
|