• Rui Zhang's avatar
    SharedMutex: use folly::kIsDebug instead of NDEBUG · 598b2103
    Rui Zhang authored
    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
    598b2103
SharedMutex.h 62 KB