summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authorGaspard Petit <gpetit@eidosmontreal.com>2022-05-31 21:35:34 (GMT)
committerGaspard Petit <gpetit@eidosmontreal.com>2022-05-31 21:35:34 (GMT)
commita86777edf9244c48350b50f0a636c58fc4f0c603 (patch)
treef16b2059f0affec182bc74f9cd8ae35cbb864626 /googletest/src
parent548b13dc3c02b93f60eeff9a0cc6e11c1ea722ca (diff)
downloadgoogletest-a86777edf9244c48350b50f0a636c58fc4f0c603.zip
googletest-a86777edf9244c48350b50f0a636c58fc4f0c603.tar.gz
googletest-a86777edf9244c48350b50f0a636c58fc4f0c603.tar.bz2
Fix for undefined symbol: testing::internal::Random::kMaxRangerefs/pull/3868/head
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index 1acad59..e268230 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -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.