projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
folly/gen/Parallel-inl.h: trivial -Wsign-compare fix
[folly.git]
/
folly
/
gen
/
Parallel-inl.h
diff --git
a/folly/gen/Parallel-inl.h
b/folly/gen/Parallel-inl.h
index ab37f7d82c3c95400cf445e03f23582b4cb71c6b..666acb16d1e356c6a192ce177bb2af899cb6d931 100644
(file)
--- a/
folly/gen/Parallel-inl.h
+++ b/
folly/gen/Parallel-inl.h
@@
-239,7
+239,7
@@
class Parallel : public Operator<Parallel<Ops>> {
ops_(ops) {
inQueue_.openProducer();
outQueue_.openConsumer();
- for (
in
t t = 0; t < threads; ++t) {
+ for (
size_
t t = 0; t < threads; ++t) {
inQueue_.openConsumer();
outQueue_.openProducer();
workers_.emplace_back([this] {