mirror of
https://github.com/novatiq/packages.git
synced 2026-04-28 06:44:40 +01:00
db0248cf67
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d28d9aa4dc)
11 lines
469 B
Diff
11 lines
469 B
Diff
--- a/folly/stats/detail/BufferedStat-inl.h
|
|
+++ b/folly/stats/detail/BufferedStat-inl.h
|
|
@@ -69,7 +69,6 @@ void BufferedStat<DigestT, ClockT>::doUpdate(
|
|
TimePoint now,
|
|
const std::unique_lock<SharedMutex>& g,
|
|
UpdateMode updateMode) {
|
|
- DCHECK(g.owns_lock());
|
|
// Check that no other thread has performed the slide after the check
|
|
auto oldExpiry = expiry_.load(std::memory_order_relaxed).tp;
|
|
if (now > oldExpiry || updateMode == UpdateMode::Now) {
|