We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339b71d commit 82ea71aCopy full SHA for 82ea71a
tcmalloc/malloc_extension.cc
@@ -443,8 +443,7 @@ void MallocExtension::ProcessBackgroundActionsTick() {
443
444
bool MallocExtension::NeedsProcessBackgroundActions() {
445
#if ABSL_INTERNAL_HAVE_WEAK_MALLOCEXTENSION_STUBS
446
- static bool needed = &MallocExtension_Internal_ProcessBackgroundActions != nullptr;
447
- return needed;
+ return &MallocExtension_Internal_ProcessBackgroundActions != nullptr;
448
#else
449
return false;
450
#endif
0 commit comments