Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
pub
google
benchmark
Commits
e605cb08
Commit
e605cb08
authored
9 years ago
by
Anton Danielsson
Browse files
Options
Download
Email Patches
Plain Diff
Changed "while(true)" to "for(;;)" to avoid warning in visual studio.
parent
53b1896c
main
v1.5.5
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.1
v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/benchmark.cc
+1
-1
src/benchmark.cc
with
1 addition
and
1 deletion
+1
-1
src/benchmark.cc
+
1
-
1
View file @
e605cb08
...
...
@@ -623,7 +623,7 @@ void RunBenchmark(const benchmark::internal::Benchmark::Instance& b,
for
(
int
i
=
0
;
i
<
FLAGS_benchmark_repetitions
;
i
++
)
{
std
::
string
mem
;
while
(
true
)
{
for
(;;
)
{
// Try benchmark
VLOG
(
2
)
<<
"Running "
<<
b
.
name
<<
" for "
<<
iters
<<
"
\n
"
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets