mirror of
https://github.com/google/googletest.git
synced 2024-12-30 21:23:01 +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 testing {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
|
const uint32_t Random::kMaxRange;
|
||||||
|
|
||||||
// Generates a random number from [0, range), using a Linear
|
// Generates a random number from [0, range), using a Linear
|
||||||
// Congruential Generator (LCG). Crashes if 'range' is 0 or greater
|
// Congruential Generator (LCG). Crashes if 'range' is 0 or greater
|
||||||
// than kMaxRange.
|
// than kMaxRange.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user