File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -317,10 +317,11 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
317317 // Clear the old callback and inline flag to get back to as-if-null.
318318 RHS.CallbackAndInlineFlag = {};
319319
320- #if !defined(NDEBUG) && !(defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__))
321- // In debug builds without ASan, we also scribble across the rest of the storage.
322- // AddressSanitizer (ASAN) disables scribbling to prevent overwriting poisoned objects
323- // (e.g., annotated short strings).
320+ #if !defined(NDEBUG) && \
321+ !(defined (ADDRESS_SANITIZER) || defined (__SANITIZE_ADDRESS__))
322+ // In debug builds without ASan, we also scribble across the rest of the
323+ // storage. AddressSanitizer (ASAN) disables scribbling to prevent
324+ // overwriting poisoned objects (e.g., annotated short strings).
324325 memset (RHS.getInlineStorage (), 0xAD , InlineStorageSize);
325326#endif
326327 }
You can’t perform that action at this time.
0 commit comments