Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
a86777ed
"docs/reference/matchers.md" did not exist on "26dadc2241b1d67e0cd3690f8ef90cd1e4294d03"
Commit
a86777ed
authored
May 31, 2022
by
Gaspard Petit
Browse files
Fix for undefined symbol: testing::internal::Random::kMaxRange
parent
548b13dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
googletest/src/gtest.cc
googletest/src/gtest.cc
+2
-0
No files found.
googletest/src/gtest.cc
View file @
a86777ed
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment