aboutsummaryrefslogtreecommitdiffstats
path: root/util/random
diff options
context:
space:
mode:
authorspacelord <spacelord@yandex-team.ru>2022-02-10 16:48:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:15 +0300
commita0c6d9ad0cf6b94c527a15da147eb24335281b6d (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/random
parent16747e4f77455cca4932df21eb76f12cb0a97a5c (diff)
downloadydb-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.cpp4
-rw-r--r--util/random/random.cpp6
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;
};
}