mirror of
https://github.com/google/googletest.git
synced 2024-12-28 19:15:24 +08:00
Fix for undefined symbol: testing::internal::Random::kMaxRange
This commit is contained in:
parent
548b13dc3c
commit
a86777edf9
@ -372,6 +372,8 @@ GTEST_DEFINE_string_(
|
||||
namespace testing {
|
||||
namespace internal {
|
||||
|
||||
const uint32_t Random::kMaxRange;
|
||||
|
||||
// Generates a random number from [0, range), using a Linear
|
||||
// Congruential Generator (LCG). Crashes if 'range' is 0 or greater
|
||||
// than kMaxRange.
|
||||
|
Loading…
x
Reference in New Issue
Block a user