fulfil -> setWith, fulfilTry -> setTry
[folly.git] / folly / wangle / concurrent / PriorityLifoSemMPMCQueue.h
index 6ee62bfb68b116f5e50527be945f601294ac98a6..0e4847154ec5625ac6a0b2ee0c5e9ff19b4424c2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2015 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ class PriorityLifoSemMPMCQueue : public BlockingQueue<T> {
   explicit PriorityLifoSemMPMCQueue(uint32_t numPriorities, size_t capacity) {
     CHECK(numPriorities > 0);
     queues_.reserve(numPriorities);
-    for (int i = 0; i < numPriorities; i++) {
+    for (uint32_t i = 0; i < numPriorities; i++) {
       queues_.push_back(MPMCQueue<T>(capacity));
     }
   }