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…
Reference in New Issue
Block a user