diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-09-20 00:17:11 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-09-20 00:32:23 +0300 |
commit | 9fe06a35ce2c80f49c89bebe61b09ab4f4213ecf (patch) | |
tree | 7c89b74c5c44f2ca81789fbbfb5c1f08f2d253a2 | |
parent | 3c3e1bcfb4ad834b060cae2b12cb413a674fb915 (diff) | |
download | ydb-9fe06a35ce2c80f49c89bebe61b09ab4f4213ecf.tar.gz |
Intermediate changes
-rw-r--r-- | yt/yt/core/misc/unittests/lock_free_hash_table_and_concurrent_cache_helpers.h | 2 | ||||
-rw-r--r-- | yt/yt/core/rpc/unittests/rpc_ut.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/misc/unittests/lock_free_hash_table_and_concurrent_cache_helpers.h b/yt/yt/core/misc/unittests/lock_free_hash_table_and_concurrent_cache_helpers.h index c636ee3edb6..25b611d228a 100644 --- a/yt/yt/core/misc/unittests/lock_free_hash_table_and_concurrent_cache_helpers.h +++ b/yt/yt/core/misc/unittests/lock_free_hash_table_and_concurrent_cache_helpers.h @@ -12,7 +12,7 @@ namespace { struct TRandomCharGenerator { std::default_random_engine Engine; - std::uniform_int_distribution<char> Uniform; + std::uniform_int_distribution<int> Uniform; explicit TRandomCharGenerator(size_t seed) : Engine(seed) diff --git a/yt/yt/core/rpc/unittests/rpc_ut.cpp b/yt/yt/core/rpc/unittests/rpc_ut.cpp index 63148dadc91..61bc65f72d3 100644 --- a/yt/yt/core/rpc/unittests/rpc_ut.cpp +++ b/yt/yt/core/rpc/unittests/rpc_ut.cpp @@ -158,7 +158,7 @@ TYPED_TEST(TNotGrpcTest, StreamingEcho) const ssize_t AttachmentSize = 2_MB; std::mt19937 randomGenerator; - std::uniform_int_distribution<char> distribution(std::numeric_limits<char>::min(), std::numeric_limits<char>::max()); + std::uniform_int_distribution<int> distribution(std::numeric_limits<char>::min(), std::numeric_limits<char>::max()); std::vector<TSharedRef> attachments; |