typedef > using

This commit is contained in:
Andrey Skobtsov 2020-05-19 21:25:40 +03:00
parent b6d6427748
commit 844aac40e5

View File

@ -183,7 +183,7 @@ struct PerfDescriptorsHolder;
struct PerfEventsCounters struct PerfEventsCounters
{ {
// must be unsigned to not cause undefined behaviour on increment // must be unsigned to not cause undefined behaviour on increment
typedef UInt64 Id; using Id = UInt64;
static constexpr size_t NUMBER_OF_RAW_EVENTS = 18; static constexpr size_t NUMBER_OF_RAW_EVENTS = 18;
static constexpr Float64 FILE_DESCRIPTORS_THRESHOLD = 0.7; static constexpr Float64 FILE_DESCRIPTORS_THRESHOLD = 0.7;