Skip to content

Commit

Permalink
Fix FB internal CI build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
SherlockNoMad committed Mar 15, 2016
1 parent 774922c commit f76b260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/histogram.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void HistogramStat::Add(uint64_t value) {
// of any operation. Each individual value is atomic and the order of updates
// by concurrent threads is tolerable.
const size_t index = bucketMapper.IndexForValue(value);
assert(index < num_buckets_ && index >= 0);
assert(index < num_buckets_);
buckets_[index].fetch_add(1, std::memory_order_relaxed);

uint64_t old_min = min();
Expand Down

0 comments on commit f76b260

Please sign in to comment.