From 44efe96dfca674a17b45ca53fc77fb69f1e29bf4 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 9 Jul 2019 07:37:37 -0700 Subject: Export of internal Abseil changes. -- 9c4ef32276054fba6a116c01cd4b3fd278f59ece by Andy Soffer : Remove support for unused arbitrary-width output in FastUniformBits. Width should be inferred from the requested return UIntType. PiperOrigin-RevId: 257189319 -- e3326329d02171a301cc3d6ae617ed448472b728 by Abseil Team : Update comments to make clear that absl::Format(std::string *, ...) appends to the provided string. PiperOrigin-RevId: 257058043 -- e2096b06d714fba3ea2c885d670a42efd872765c by Xiaoyi Zhang : Fix compilation error on MSVC 2017. The root cause seems to be a compiler bug in VS 2017 about pack expansion with multiple parameter packs, specifically `MakeVisitationMatrixImpl::Run` is triggering compiler error "error C3528: 'BoundIndices': the number of elements in this pack expansion does not match the number of elements in 'EndIndices'". Work around this issue by using only one parameter pack `CurrIndices` in `MakeVisitationMatrixImpl::Run`. PiperOrigin-RevId: 257040381 -- 9ab75ff27b2513583fffc1233e6568aa96be36f7 by Matt Calabrese : Internal change. PiperOrigin-RevId: 257039041 GitOrigin-RevId: 9c4ef32276054fba6a116c01cd4b3fd278f59ece Change-Id: I5f708bb03aff93948502394a413260af2a8a273b --- absl/random/benchmarks.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'absl/random/benchmarks.cc') diff --git a/absl/random/benchmarks.cc b/absl/random/benchmarks.cc index 8e6d889e..265d54d7 100644 --- a/absl/random/benchmarks.cc +++ b/absl/random/benchmarks.cc @@ -257,9 +257,9 @@ void BM_Thread(benchmark::State& state) { BENCHMARK_TEMPLATE(BM_ShuffleReuse, Engine, 100); \ BENCHMARK_TEMPLATE(BM_ShuffleReuse, Engine, 1000); \ BENCHMARK_TEMPLATE(BM_Dist, Engine, \ - absl::random_internal::FastUniformBits); \ + absl::random_internal::FastUniformBits); \ BENCHMARK_TEMPLATE(BM_Dist, Engine, \ - absl::random_internal::FastUniformBits); \ + absl::random_internal::FastUniformBits); \ BENCHMARK_TEMPLATE(BM_Dist, Engine, std::uniform_int_distribution); \ BENCHMARK_TEMPLATE(BM_Dist, Engine, std::uniform_int_distribution); \ BENCHMARK_TEMPLATE(BM_Dist, Engine, \ -- cgit v1.2.3