mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
12 lines
347 B
C++
12 lines
347 B
C++
#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
|
|
};
|