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 | a0c6d9ad0cf6b94c527a15da147eb24335281b6d (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/random | |
parent | 16747e4f77455cca4932df21eb76f12cb0a97a5c (diff) | |
download | ydb-a0c6d9ad0cf6b94c527a15da147eb24335281b6d.tar.gz |
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 2 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 70dd290e72..3617edb83d 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 43f3403fe5..71f9323856 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; }; } |