Skip to content

Commit 077de73

Browse files
laramielliujinye-sys
authored andcommitted
YuleSimon/SkewedLow: Cleanup/move benchmarks and overload tests.
PiperOrigin-RevId: 530999471 Change-Id: Ifca68cd53be629088244eaa3560d43fd81090747
1 parent e59fef9 commit 077de73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

absl/random/benchmarks.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class PrecompiledSeedSeq {
6262
public:
6363
using result_type = uint32_t;
6464

65-
PrecompiledSeedSeq() {}
65+
PrecompiledSeedSeq() = default;
6666

6767
template <typename Iterator>
6868
PrecompiledSeedSeq(Iterator begin, Iterator end) {}

absl/random/generators_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ void TestBernoulli(URBG* gen) {
117117
absl::Bernoulli(*gen, 0.5);
118118
}
119119

120+
120121
template <typename URBG>
121122
void TestZipf(URBG* gen) {
122123
absl::Zipf<int>(*gen, 100);

0 commit comments

Comments
 (0)