SharedMutex: use folly::kIsDebug instead of NDEBUG
Summary: This diff replaces all 2 occurrences of "NDEBUG" with "folly::kIsDebug" in folly/SharedMutex.h. Compared to NDEBUG, folly::kIsDebug has the equivalent functionally but helps consolidate the conditional-compilation logic to a single place, namely folly/portability. Reviewed By: shixiao Differential Revision: D15379370 fbshipit-source-id: 58c563624e58a4fd18b0cfbe4c0b9ba879f8eea9
Showing
Please register or sign in to comment