From 07a3f7f008a02c6b6c3be69f5f5d1a0d5a49cf89 Mon Sep 17 00:00:00 2001 From: Huisheng Liu Date: Thu, 12 Mar 2020 08:39:46 -0700 Subject: [PATCH] fix MSVC build failures (#6517) Summary: fix a few build warnings that are treated as failures with more strict MSVC warning settings Pull Request resolved: https://github.com/facebook/rocksdb/pull/6517 Differential Revision: D20401325 Pulled By: pdillinger fbshipit-source-id: b44979dfaafdc7b3b8cb44a565400a99b331dd30 --- .../synchronization/DistributedMutex-inl.h | 2 +- .../block_cache_trace_analyzer_test.cc | 10 ++++++---- util/bloom_test.cc | 19 +++++++++++-------- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/third-party/folly/folly/synchronization/DistributedMutex-inl.h b/third-party/folly/folly/synchronization/DistributedMutex-inl.h index 8eedb9cd3..ca5650de6 100644 --- a/third-party/folly/folly/synchronization/DistributedMutex-inl.h +++ b/third-party/folly/folly/synchronization/DistributedMutex-inl.h @@ -1527,7 +1527,7 @@ bool tryUnlockClean(Atomic& state, Proxy& proxy, Sleepers sleepers) { template