diff options
author | spacelord <spacelord@yandex-team.ru> | 2022-02-10 16:48:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:15 +0300 |
commit | 16747e4f77455cca4932df21eb76f12cb0a97a5c (patch) | |
tree | 4dd6da4102d99d0d69dec53c1050d290a850a9f2 /util/random | |
parent | a817f5de12611ec73085eba17f8ec7740a46bdb7 (diff) | |
download | ydb-16747e4f77455cca4932df21eb76f12cb0a97a5c.tar.gz |
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/random')
-rw-r--r-- | util/random/entropy.cpp | 4 | ||||
-rw-r--r-- | util/random/random.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/util/random/entropy.cpp b/util/random/entropy.cpp index 3617edb83d..70dd290e72 100644 --- a/util/random/entropy.cpp +++ b/util/random/entropy.cpp @@ -103,8 +103,8 @@ namespace { //not thread-safe class TMersenneInput: public IInputStream { - using TKey = ui64; - using TRnd = TMersenne<TKey>; + using TKey = ui64; + using TRnd = TMersenne<TKey>; public: inline explicit TMersenneInput(const TBuffer& rnd) diff --git a/util/random/random.cpp b/util/random/random.cpp index 71f9323856..43f3403fe5 100644 --- a/util/random/random.cpp +++ b/util/random/random.cpp @@ -54,17 +54,17 @@ namespace { template <unsigned N> struct TToRealTypeBySize { - using TResult = ui32; + using TResult = ui32; }; template <> struct TToRealTypeBySize<8> { - using TResult = ui64; + using TResult = ui64; }; template <class T> struct TToRealType { - using TResult = typename TToRealTypeBySize<sizeof(T)>::TResult; + using TResult = typename TToRealTypeBySize<sizeof(T)>::TResult; }; } |