From f76b260eff1086968fc7813112d9993525cd6dd6 Mon Sep 17 00:00:00 2001 From: SherlockNoMad Date: Tue, 15 Mar 2016 11:38:15 -0700 Subject: [PATCH] Fix FB internal CI build failure --- util/histogram.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/histogram.cc b/util/histogram.cc index d052abb33..1e63c39b3 100644 --- a/util/histogram.cc +++ b/util/histogram.cc @@ -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();